Exemplo n.º 1
0
            public override byte[] BuildRequest()
            {
                var packet = new RobotPacket(PacketID);

                packet.Parameters = Data;
                return(packet.BuildPacket());
            }
Exemplo n.º 2
0
            public override byte[] BuildRequest()
            {
                var packet = new RobotPacket(RobotPacket.PacketID.CreateMotionPair);

                packet.Parameters = GlobalFunction.DecToLE8(MotionID);
                return(packet.BuildPacket());
            }
Exemplo n.º 3
0
 public override byte[] BuildRequest()
 {
     var packet = new RobotPacket(RequestID)
                      {
                          Parameters = GlobalFunction.DecToLE8(MotionID)
                      };
     return packet.BuildPacket();
 }
Exemplo n.º 4
0
        public override byte[] BuildRequest()
        {
            var packet = new RobotPacket(RequestID)
            {
                Parameters = GlobalFunction.DecToLE8(MotionID)
            };

            return(packet.BuildPacket());
        }
Exemplo n.º 5
0
        public override byte[] BuildRequest()
        {
            var packet = new RobotPacket(RequestID);

            if (volumeLevel != -1)
            {
                packet.Parameters = new[] { (byte)volumeLevel };
            }

            if (motionIDToPlay != 0)
            {
                var param = GlobalFunction.DecToLE8(motionIDToPlay);
                packet.Parameters = param;
            }
            return packet.BuildPacket();
        }
Exemplo n.º 6
0
        public override byte[] BuildRequest()
        {
            var packet = new RobotPacket(RequestID);

            if (volumeLevel != -1)
            {
                packet.Parameters = new[] { (byte)volumeLevel };
            }

            if (motionIDToPlay != 0)
            {
                var param = GlobalFunction.DecToLE8(motionIDToPlay);
                packet.Parameters = param;
            }
            return(packet.BuildPacket());
        }
Exemplo n.º 7
0
        public override byte[] BuildRequest()
        {
            var packet = new RobotPacket(RequestID);

            return(packet.BuildPacket());
        }
Exemplo n.º 8
0
 public override byte[] BuildRequest()
 {
     var packet = new RobotPacket(RequestID);
     return packet.BuildPacket();
 }
Exemplo n.º 9
0
 public override byte[] BuildRequest()
 {
     var packet = new RobotPacket(PacketID);
     packet.Parameters = Data;
     return packet.BuildPacket();
 }
Exemplo n.º 10
0
 public override byte[] BuildRequest()
 {
     var packet = new RobotPacket(RobotPacket.PacketID.CreateMotionPair);
     packet.Parameters = GlobalFunction.DecToLE8(MotionID);
     return packet.BuildPacket();
 }
Exemplo n.º 11
0
 public override byte[] BuildRequest()
 {
     var packet = new RobotPacket(RobotPacket.PacketID.CloseMotionPair);
     return packet.BuildPacket();
 }
Exemplo n.º 12
0
            public override byte[] BuildRequest()
            {
                var packet = new RobotPacket(RobotPacket.PacketID.CancelTransferMotionPair);

                return(packet.BuildPacket());
            }
Exemplo n.º 13
0
            public override byte[] BuildRequest()
            {
                var packet = new RobotPacket(RobotPacket.PacketID.CloseMotionFile);

                return(packet.BuildPacket());
            }