blob: e89bc04e596d8445be195e337cf63a9577b1b87b (
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
|
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)
{
// use this stub to set the number of thread rotation on each screw passage (bigger the number - slower the screw)
ProgressRequest progressRequest = new ProgressRequest();
//DO NOT CHANGE THIS LINE!!!!!!!!!!!!!!
progressRequest.Amount = 0xF1; //DO NOT CHANGE THIS LINE!!!!!!!!!!!!!!
//DO NOT CHANGE THIS LINE!!!!!!!!!!!!!!
//set the number of rotations *1000
progressRequest.Delay = 6123;
var response = stubManager.Run<ProgressResponse>(progressRequest);
}
|