How do I put the ID and the shaft of the shaft of the speed of each associate,
Such as I want to get the speed of the shaft 1 1, direct axis is 1. Speed 1 In such as I want to get the speed of the shaft 1 2, shaft directly 1. Speed 2
//shaft ID Public enum AxisID { 1=1, Axis 2, Shaft 3, } Public struct stuaxis { Public string handspeed1;//speed 1 Public string handspeed2;//speed 2 Public string handspeed3;//speed 3 Public string handspeed4;// Public string handspeed5;// } The static public stuaxis axisparm;
CodePudding user response:
Public string handspeed1 {get {... } the set {... }}