1
This commit is contained in:
parent
19fa2a2df5
commit
fc1d705cd8
@ -841,7 +841,7 @@ namespace DAL
|
||||
mt.HanxiCount = Convert.ToInt32(row["HanxiCount"]);
|
||||
mt.QingjieTime = Convert.ToInt32(row["QingjieTime"]);
|
||||
mt.HanxiTime = Convert.ToInt32(row["HanxiTime"]);
|
||||
mt.MyQita = ShareHelp.JsonToObj<Qita>(row["MyQita"]);
|
||||
mt.MyQita = ShareHelp.JsonToObj<Qita>(row["MyQita"].ToString());
|
||||
|
||||
|
||||
list.Add(mt);
|
||||
|
||||
Binary file not shown.
@ -478,7 +478,7 @@ namespace Model
|
||||
{
|
||||
//allDone.Set();
|
||||
// ConnSocket = (Socket)ar.AsyncState;
|
||||
if (ConnSocket.Connected)
|
||||
if (ConnSocket!=null && ConnSocket.Connected)
|
||||
{
|
||||
ConnSocket.EndConnect(ar);//挂起异步连接
|
||||
|
||||
@ -501,7 +501,7 @@ namespace Model
|
||||
Showmsg.StatusBackground = ColorStr.Red;
|
||||
Showmsg.StatusForeground = ColorStr.White;
|
||||
//重连
|
||||
ConnSocket.BeginConnect(Endpoint, new AsyncCallback(ConnectCallback), ConnSocket);
|
||||
ConnSocket?.BeginConnect(Endpoint, new AsyncCallback(ConnectCallback), ConnSocket);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -353,6 +353,8 @@ namespace Model
|
||||
this.RaisePropertyChanged("RunningMode");
|
||||
}
|
||||
}
|
||||
|
||||
public Qita MyQita { get; set; }
|
||||
#endregion
|
||||
|
||||
|
||||
@ -365,7 +367,6 @@ namespace Model
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class Qita : NotificationObject
|
||||
{
|
||||
private double _XiaYa;
|
||||
|
||||
@ -2006,8 +2006,8 @@ namespace ViewModel
|
||||
dw2 = false;
|
||||
TempPoint.PointRunStep = GengralProcessEnum.Start;
|
||||
TempPoint2.PointRunStep = GengralProcessEnum.Start;
|
||||
TempPoint.PointZ += CurrentMachine.MyQita.XaiYa
|
||||
TempPoint2.PointZ += CurrentMachine.MyQita.XaiYa
|
||||
TempPoint.ShaftPoint_Z += CurrentMachine.MyQita.XiaYa;
|
||||
TempPoint2.ShaftPoint_Z += CurrentMachine.MyQita.XiaYa;
|
||||
}
|
||||
else if (TimeOutValidation(MyFlow.RunTime, 10000, "焊接位运行异常"))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user