|
@@ -325,10 +325,10 @@ namespace SCADA_DAQ.Customer.Service
|
|
|
{
|
|
|
var startDayTime = DateTime.Parse(DateTime.Now.ToString("00:00:00"));
|
|
|
var endDayTime = DateTime.Parse(DateTime.Now.ToString("23:59:59"));
|
|
|
- OeeData = Env.SqlDAL.App_Vertiv_MachineInfo.GetData<MachineInfoModel>(t => t.CreateTime >= startDayTime & t.CreateTime <= endDayTime);
|
|
|
+ OeeData = Env.SqlDAL.App_Vertiv_MachineInfo.GetData<MachineInfoModel>(t => t.CreateTime >= startDayTime && t.CreateTime <= endDayTime);
|
|
|
|
|
|
LastDeviceName = Env.SqlDAL.App_Vertiv_MachineInfoOeeData.GetData<OEEDataModel>();
|
|
|
- DailyOeeData = Env.SqlDAL.App_Vertiv_MachineInfoOeeData.GetData<OEEDataModel>(t => t.CreateTime >= startDayTime & t.CreateTime <= endDayTime);
|
|
|
+ DailyOeeData = Env.SqlDAL.App_Vertiv_MachineInfoOeeData.GetData<OEEDataModel>(t => t.CreateTime >= startDayTime && t.CreateTime <= endDayTime);
|
|
|
}
|
|
|
|
|
|
public string OeeValue { get; set; }
|