aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs/lubricant_valve_close100_open0.cs
blob: 3559228e78edeba2ecb2ea74e2c8fa09cf290f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;

public void OnExecute(StubManager stubManager)
{
		const int LOW = 100;//0 - 100%


	var response1 = stubManager.Run<StubFpgaWriteRegResponse>("StubFpgaWriteRegRequest" ,0x60000800 | 0x39c, LOW+1);//Low 8 bit
	var response2 = stubManager.Run<StubFpgaWriteRegResponse>("StubFpgaWriteRegRequest" ,0x60000800 | 0x39e, 101 - LOW);//High 8 bit 
	
	
}