Commit cb5f948c LN

中英文调整,灯闪烁调整

1 个父辈 89d5e6a8
...@@ -48,7 +48,7 @@ namespace DeviceLibrary ...@@ -48,7 +48,7 @@ namespace DeviceLibrary
{ {
LogUtil.info("LED灯初始化成功"); LogUtil.info("LED灯初始化成功");
rgbLedInitOk = true; rgbLedInitOk = true;
ledRgbTimer = new System.Threading.Timer(new TimerCallback(RgbLedProcess), null, 0, 500); ledRgbTimer = new System.Threading.Timer(new TimerCallback(RgbLedProcess), null, 0, 1000);
GC.KeepAlive(ledRgbTimer); GC.KeepAlive(ledRgbTimer);
msg = ""; msg = "";
return true; return true;
...@@ -206,7 +206,7 @@ namespace DeviceLibrary ...@@ -206,7 +206,7 @@ namespace DeviceLibrary
if (IOValue(IO_Type.SuddenStop_BTN).Equals(IO_VALUE.LOW) || isInSuddenDown) if (IOValue(IO_Type.SuddenStop_BTN).Equals(IO_VALUE.LOW) || isInSuddenDown)
{ {
//红色: 急停, //红色: 急停,
ShowColor(Color.Red, "suddenStop"); ShowBlink(Color.Red, "suddenStop");
} }
else if (runStatus == RunStatus.Stop) else if (runStatus == RunStatus.Stop)
{ {
...@@ -254,7 +254,7 @@ namespace DeviceLibrary ...@@ -254,7 +254,7 @@ namespace DeviceLibrary
else if (hasAlarm) else if (hasAlarm)
{ {
//紫色: 异常, //紫色: 异常,
ShowColor(Color.Red, "hasAlarm"); ShowBlink(Color.Red, "hasAlarm");
} //温度超限 } //温度超限
//else if (IsTHoutRange()) //else if (IsTHoutRange())
...@@ -274,7 +274,7 @@ namespace DeviceLibrary ...@@ -274,7 +274,7 @@ namespace DeviceLibrary
{ {
//待机 蓝绿 //待机 蓝绿
//ShowColor(Color.FromArgb(0, 255, 64), "waiting"); //ShowColor(Color.FromArgb(0, 255, 64), "waiting");
ShowColor(Color.Green, "waiting"); ShowBlink(Color.Green, "waiting");
} }
} }
} }
......
...@@ -572,7 +572,7 @@ namespace DeviceLibrary ...@@ -572,7 +572,7 @@ namespace DeviceLibrary
if (h.Value) if (h.Value)
{ {
Msg.add(crc.GetString(L.x29_higt_has_reel, "系统启动检测到有无信息料盘,等待取走单料口料盘"), MsgLevel.alarm); Msg.add(crc.GetString(L.x29_higt_has_reel, "系统启动检测到有无信息料盘,等待取走单料口料盘"), MsgLevel.alarm);
ShowColor(Color.White, "waitTask"); //ShowColor(Color.White, "waitTask");
if (Setting_Init.CamTestReel_Ability) if (Setting_Init.CamTestReel_Ability)
{ {
//ResetMoveInfo.NextMoveStep(MoveStep.H14_HomeReset); //ResetMoveInfo.NextMoveStep(MoveStep.H14_HomeReset);
......
...@@ -300,7 +300,7 @@ namespace DeviceLibrary ...@@ -300,7 +300,7 @@ namespace DeviceLibrary
if (h.Value) if (h.Value)
{ {
Msg.add(crc.GetString(L.please_take_ngdoor_reel, "等待取走单料口料盘"), MsgLevel.warning); Msg.add(crc.GetString(L.please_take_ngdoor_reel, "等待取走单料口料盘"), MsgLevel.warning);
ShowColor(Color.White, "waitTask"); //ShowColor(Color.White, "waitTask");
if (Setting_Init.CamTestReel_Ability) if (Setting_Init.CamTestReel_Ability)
{ {
//ClampMoveInfo.LastSetpTime = DateTime.Now; //ClampMoveInfo.LastSetpTime = DateTime.Now;
...@@ -468,7 +468,7 @@ namespace DeviceLibrary ...@@ -468,7 +468,7 @@ namespace DeviceLibrary
public void ScanCode() public void ScanCode()
{ {
ClampMoveInfo.log("开始扫码"); ClampMoveInfo.log("开始扫码");
ShowColor(Color.Blue, "scanCode"); //ShowColor(Color.Blue, "scanCode");
//RightMoveInfo.OneWaitCanEndStep = true; //RightMoveInfo.OneWaitCanEndStep = true;
//RightMoveInfo.WaitList.Add(WaitResultInfo.WaitScanCode()); //RightMoveInfo.WaitList.Add(WaitResultInfo.WaitScanCode());
//RightMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(1000)); //RightMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(1000));
......
...@@ -450,7 +450,7 @@ FlipDoor_R_Axis 右翻转托盘 Right Flip Tray ...@@ -450,7 +450,7 @@ FlipDoor_R_Axis 右翻转托盘 Right Flip Tray
StringDoor_Axis 料串口折叠门 String Folding Door StringDoor_Axis 料串口折叠门 String Folding Door
FrmPositionTool_groupBox6_groupBox1_ioStatusControl1_label1_Text 检测信号 Detection Signal FrmPositionTool_groupBox6_groupBox1_ioStatusControl1_label1_Text 检测信号 Detection Signal
Res0001 设备未启动 Device Not Started Res0001 设备未启动 Device Not Started
stringDoorSafety 料串门光栅被遮挡 The grating of the string door is obstructed. stringDoorSafety 料串门光栅被遮挡 The grating of the string door is obstructed
Form1_tabc_tab_setting__SettingControl_tp_label5_Text 设置最大压力: Set maximum pressure: Form1_tabc_tab_setting__SettingControl_tp_label5_Text 设置最大压力: Set maximum pressure:
Form1_tabc_tab_setting__SettingControl_tp_label3_Text 历史最大压力值: Historical maximum pressure value: Form1_tabc_tab_setting__SettingControl_tp_label3_Text 历史最大压力值: Historical maximum pressure value:
Form1_tabc_tab_setting__SettingControl_tp_label1_Text 压力传感器当前值: Current value of pressure sensor: Form1_tabc_tab_setting__SettingControl_tp_label1_Text 压力传感器当前值: Current value of pressure sensor:
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!