Inventors quantify new feature "Send commands to WeChat/WeChat control disks"

Author: The Little Dream, Created: 2019-07-19 11:49:28, Updated: 2021-09-15 09:56:28

Inventors quantify new feature "Send commands to WeChat/WeChat control disks"

  • WeChat can also send commands to operate the disk.

    img

  • Weight Watchers is a social networking site that offers a variety of social media platforms.

    img

    • For example, send:

      /send id cmd 
      

      The real thingidIt can be done by:

      /list                  查看运行的实盘
      
      /listall               查看所有的实盘
      

      I'm not sure what you mean.

    • Testing/send id cmdThe real-time strategy code for the instruction:

      function main() {
          while(true){
              // 处理交互
              var cmd = GetCommand()
              if(cmd){
                  Log("cmd:", cmd)  // 测试
              }
              Sleep(2000)
          }
      }
      
    • Interactive interface settings

      img

    • Use/send id cmdInstructions, the hard drive log shows:

      img

      You can see that the hard drive has received the message.UpdateAmount:1The interactive commands.

  • 重启/停止The real thing

    • /start idStart the specified disk:
    • /stop idStop specified disk:
  • Specify the queryidThe real thing

    • /list idView the specified disk:

More

Difficult to quantifySending interactions to instances /send id to cmd Is the cmd here the content of a command that can be customized arbitrarily? For example, the UpdateAmount in the example, is a built-in function of the inventor platform, or is it a variable or function that is customized by some policy code? What exactly does the robot do after receiving this cmd interaction command? I've just combined the examples in the API documentation to understand, understood. Example: Design interactive code in a strategy I've been trying to get a copy of this.

bamsmenIs it possible to monitor the status of the host, for example, to receive an instant notification on WeChat when the server is down?

fmz4cryptoIt's a dream come true!

fmzeroIt's fried!

The Little DreamIn addition to the above, the website also offers online alerts, e-mail alerts and WeChat notifications.