aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs/Scripts/11.cs
blob: 9b7b1097ee9dc3b6dc7d3774103348f1fbddf881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Text;
using System.Linq;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Tango.PMR.Stubs;
using Tango.Stubs;


const Int32 x_ABS_POS    = 0x01;
const Int32 x_EL_POS     = 0x02;
const Int32 x_MARK       = 0x03;
const Int32 x_SPEED      = 0x04;
const Int32 x_GET_PARAM  = 0x20;
const Int32 x_MOVE_PARAM  = 0x40;

const Int32	F1_MOTO_DRYER_LOADARM_A1_TX_00	=	0x60000240	;
const Int32	F1_MOTO_DRYER_LOADARM_A1_TX_01	=	0x60000242	;
const Int32	F1_MOTO_DRYER_LOADARM_A1_RX_00	=	0x60000244	;
const Int32	F1_MOTO_DRYER_LOADARM_A1_RX_01	=	0x60000246	;

public void OnExecute(StubManager stubManager)
{



stubManager.Run<StubFpgaWriteRegResponse>("StubFpgaWriteRegRequest" ,F1_MOTO_DRYER_LOADARM_A1_TX_01,0X4100);	
stubManager.Run<StubFpgaWriteRegResponse>("StubFpgaWriteRegRequest" ,F1_MOTO_DRYER_LOADARM_A1_TX_00,32000);	



	
	
	
	
	
	
}