123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- using System.Collections.Generic;
- public class NetProtocol
- {
- }
- public class SendNetConnectProtocolBlue
- {
- public string Tagid { get; set; }
- public int Port { get; set; }
- public int ProjectId { get; set; }
- }
- public class SendNetConnectProtocol
- {
- public string Tagid { get; set; }
- public int Port { get; set; }
- public int ProjectID { get; set; }
- }
- public class SendNetConnectPointCloud
- {
- public string reporter { get; set; }
- public string sn { get; set; }
- public string cmd { get; set; }
- public string positionTs { get; set; }
- public string project { get; set; }
- public string positionType { get; set; }
- // public string viewpointId { get; set; }
- public Position position;
- public SendNetConnectPointCloud()
- {
- this.position = new Position();
- }
- }
- public class SendNetConnectPointTrigger
- {
- //projectId:"<uuid>",
- //sn:"<string>",
- //cmdType:"increasePointTrigger",
- //viewpointId:"<uuid>",
- //triggerTs:<int64>
- //
- public string projectId;
- public string sn;
- public string cmdType = "increasePointTrigger";
- public string viewpointId;
- public long triggerTs;
- }
- public class ReceiveNetConnectProtocol
- {
- public int Status { get; set; }
- public string Registe { get; set; }
- public string Tagid { get; set; }
- }
- public class SendNetConnectElectricity
- {
- public string sn;
- public string cmd = "showElectricity";
- public int electricity;
- public string status;
- }
- public class ReceiveMessage
- {
- /// <summary>
- ///
- /// </summary>
- public string ID { get; set; }
- /// <summary>
- ///
- /// </summary>
- public Position Position { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string EngineType { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string Identify { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int LastActive { get; set; }
- }
- public class Position
- {
- /// <summary>
- ///
- /// </summary>
- public double x { get; set; }
- /// <summary>
- ///
- /// </summary>
- public double y { get; set; }
- /// <summary>
- ///
- /// </summary>
- public double z { get; set; }
- }
|