|
@@ -46,6 +46,8 @@ namespace SCADA_DAQ.Customer
|
|
public partial class UctFrmKanbanForPressBrakeEquipment : BaseUctFrm
|
|
public partial class UctFrmKanbanForPressBrakeEquipment : BaseUctFrm
|
|
{
|
|
{
|
|
private static SqlSchema.DIL.DILDB DAL = Env.SqlDAL;
|
|
private static SqlSchema.DIL.DILDB DAL = Env.SqlDAL;
|
|
|
|
+
|
|
|
|
+ public int Index { get; set; }
|
|
//private static DIL.DILDB sqliteDAL = Env.DAL;
|
|
//private static DIL.DILDB sqliteDAL = Env.DAL;
|
|
public UctFrmKanbanForPressBrakeEquipment()
|
|
public UctFrmKanbanForPressBrakeEquipment()
|
|
{
|
|
{
|
|
@@ -53,10 +55,22 @@ namespace SCADA_DAQ.Customer
|
|
{
|
|
{
|
|
while (true)
|
|
while (true)
|
|
{
|
|
{
|
|
- //点击频率 单位秒
|
|
|
|
- System.Threading.Thread.Sleep(3 * 1000);
|
|
|
|
- //方法第一个参数鼠标x的坐标,第二个参数是鼠标y的坐标
|
|
|
|
- MouseFlag.MouseLeftClickEvent(500, 500, 0);
|
|
|
|
|
|
+ //点击频率 单位豪秒
|
|
|
|
+ System.Threading.Thread.Sleep(30 * 1000);
|
|
|
|
+
|
|
|
|
+ if (Index == 0)
|
|
|
|
+ {
|
|
|
|
+ //方法第一个参数鼠标x的坐标,第二个参数是鼠标y的坐标
|
|
|
|
+ MouseFlag.MouseLeftClickEvent(500, 500, 0);
|
|
|
|
+ Index++;
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ MouseFlag.MouseLeftClickEvent(800, 500, 0);
|
|
|
|
+ Index = 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|