예제 #1
0
        public static OutputMessageData_old initHand()
        {
            OutputMessageData_old command = new OutputMessageData_old();

            command.rACT = 1;
            command.rGTO = 1;
            command.rSPA = 255;
            command.rFRA = 150;

            return(command);
        }
예제 #2
0
        public static OutputMessageData_old closeHand(float closingState = 1.0f)
        {
            OutputMessageData_old command = new OutputMessageData_old();

            command.rACT = 1;
            command.rGTO = 1;
            command.rSPA = 255;
            command.rFRA = 150;
            command.rPRA = (uint)(255 * closingState);

            return(command);
        }