@@ -3901,7 +3901,7 @@ public override string ToString()
39013901 public class MSGMovingTbl : Message
39023902 {
39033903 private string user ;
3904- private MovingTable . subMessageCode subMessageCode ;
3904+ private MovingTable . SubMessageCode subMessageCode ;
39053905 private int movingTableIndex ;
39063906 private bool clockwise ;
39073907 private float yangle ;
@@ -3912,13 +3912,13 @@ public MSGMovingTbl(string m)
39123912
39133913 movingTableIndex = int . Parse ( areas [ 0 ] . Trim ( ) ) ;
39143914 user = areas [ 1 ] . Trim ( ) ;
3915- subMessageCode = ( MovingTable . subMessageCode ) int . Parse ( areas [ 2 ] . Trim ( ) ) ;
3915+ subMessageCode = ( MovingTable . SubMessageCode ) int . Parse ( areas [ 2 ] . Trim ( ) ) ;
39163916 clockwise = int . Parse ( areas [ 3 ] . Trim ( ) ) == 0 ? false : true ;
39173917 yangle = float . Parse ( areas [ 4 ] . Trim ( ) ) ;
39183918
39193919 }
39203920
3921- public MSGMovingTbl ( int mti , string u , MovingTable . subMessageCode smc , bool cw , float y )
3921+ public MSGMovingTbl ( int mti , string u , MovingTable . SubMessageCode smc , bool cw , float y )
39223922 {
39233923 movingTableIndex = mti ;
39243924 user = u ;
@@ -3943,7 +3943,7 @@ public override void HandleMsg()
39433943 {
39443944 switch ( subMessageCode )
39453945 {
3946- case MovingTable . subMessageCode . GoToTarget :
3946+ case MovingTable . SubMessageCode . GoToTarget :
39473947 turntable . RemotelyControlled = true ;
39483948 if ( Math . Abs ( MathHelper . WrapAngle ( turntable . YAngle - yangle ) ) > 0.2f )
39493949 {
@@ -3953,7 +3953,7 @@ public override void HandleMsg()
39533953 }
39543954 turntable . GeneralComputeTarget ( clockwise ) ;
39553955 break ;
3956- case MovingTable . subMessageCode . StartingContinuous :
3956+ case MovingTable . SubMessageCode . StartingContinuous :
39573957 turntable . YAngle = yangle ;
39583958 turntable . TargetY = yangle ;
39593959 turntable . AlignToRemote = true ;
@@ -3967,7 +3967,7 @@ public override void HandleMsg()
39673967 {
39683968 switch ( subMessageCode )
39693969 {
3970- case MovingTable . subMessageCode . GoToTarget :
3970+ case MovingTable . SubMessageCode . GoToTarget :
39713971 transfertable . RemotelyControlled = true ;
39723972 if ( Math . Abs ( transfertable . OffsetPos - yangle ) > 2.8f )
39733973 {
@@ -3977,7 +3977,7 @@ public override void HandleMsg()
39773977 }
39783978 transfertable . GeneralComputeTarget ( clockwise ) ;
39793979 break ;
3980- case MovingTable . subMessageCode . StartingContinuous :
3980+ case MovingTable . SubMessageCode . StartingContinuous :
39813981 transfertable . OffsetPos = yangle ;
39823982 transfertable . TargetOffset = yangle ;
39833983 transfertable . AlignToRemote = true ;
0 commit comments