This commit is contained in:
clovejunti 2024-08-05 17:21:06 +08:00
parent 5c0cbc93ed
commit 239ccfc732
40 changed files with 2651 additions and 640 deletions

View File

@ -15,7 +15,7 @@
<!--<add key="DbConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226DF3BE8D7136A5584B9EF82EF17111DCEFC50467AA2016C983E4A2C388348CD579F2B752522430413AEFDD1725A61A7BE042E02FA82F17FB1F0DC3CC9534BD3625DC8F12EC361EAE5074C4DE21294D7D3" />-->
<!--<add key="LogConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226A45982935AAA969DD2083D0C4490A626EF86FF5F3AADCC8AA52F594871B5ECE9280C276380BF31EA4C41A3AFF6AB004294F4CE90472421ADEBC6A8DA326A81AF2C73F29625645A8F0FA12CC730F693B6CD892ED6CA2D5BA4" />-->
<add key="DbConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226DF3BE8D7136A5584B9EF82EF17111DCEFC50467AA2016C983E4A2C388348CD579F2B752522430413AEFDD1725A61A7BE042E02FA82F17FB1F0DC3CC9534BD362252A2165A62B1D4AD3557A3F7F37B29F" />
<add key="LogConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226DF3BE8D7136A5584B9EF82EF17111DCEFC50467AA2016C983E4A2C388348CD579F2B752522430413AEFDD1725A61A7BE042E02FA82F17FB1F0DC3CC9534BD362252A2165A62B1D4AD3557A3F7F37B29F" />
<add key="LogConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226A45982935AAA969DD2083D0C4490A626EF86FF5F3AADCC8AA52F594871B5ECE9280C276380BF31EA4C41A3AFF6AB004294F4CE90472421ADEBC6A8DA326A81AF2C73F29625645A8F48F87233DF6E35C5F0FFB32E4CE24270" />
<add key="SfcConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226DF3BE8D7136A5584B9EF82EF17111DCEFC50467AA2016C983E4A2C388348CD579F2B752522430413AEFDD1725A61A7BE042E02FA82F17FB1F0DC3CC9534BD362252A2165A62B1D4AD3557A3F7F37B29F" />
<add key="SecureKey" value="A4E3uxwPTQ8Jpi7Sp4" />
<add key="AttachmentDirectory" value="D:\WorkStation\设备维护管理软件\DeviceRepairAPI\Attachment" />

View File

@ -88,6 +88,10 @@ FROM dbo.MaintenanceRecord WHERE PlanPrimaryID = @PlanPrimaryID";
if (item != null)
{
MaintenanceFormVersionInfo formData = devMain.Queryable<MaintenanceFormVersionInfo>().First(x => x.AutoID == item.FormPrimaryID);
if (formData == null)
{
throw new ArgumentException("当前设备的点检表不存在!");
}
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
dsDatas.Tables.Add(table2);
}
@ -95,6 +99,10 @@ FROM dbo.MaintenanceRecord WHERE PlanPrimaryID = @PlanPrimaryID";
{
MaintenanceFormVersionInfo formData = devMain.Queryable<DeviceInformationInfo, MaintenanceFormVersionInfo>((t1, t2) => new object[] { JoinType.Inner, t1.MaintenanceAMFormVersion == t2.AutoID })
.Where((t1, t2) => t1.AutoID == plan.EquipmentID).Select((t1, t2) => t2).First();
if (formData == null)
{
throw new ArgumentException("当前设备的点检表不存在!");
}
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
dsDatas.Tables.Add(table2);
}
@ -106,6 +114,10 @@ FROM dbo.MaintenanceRecord WHERE PlanPrimaryID = @PlanPrimaryID";
{
MaintenanceFormVersionInfo formData = devMain.Queryable<MaintenanceRecordInfo, MaintenanceFormVersionInfo>((t1, t2) => new object[] { JoinType.Inner, t1.FormPrimaryID == t2.AutoID })
.Where((t1, t2) => t1.EquipmentPrimaryID == plan.EquipmentID).Select((t1, t2) => t2).First();
if (formData == null)
{
throw new ArgumentException("当前设备的点检表不存在!");
}
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
dsDatas.Tables.Add(table2);
}
@ -113,6 +125,10 @@ FROM dbo.MaintenanceRecord WHERE PlanPrimaryID = @PlanPrimaryID";
{
MaintenanceFormVersionInfo formData = devMain.Queryable<DeviceInformationInfo, MaintenanceFormVersionInfo>((t1, t2) => new object[] { JoinType.Inner, t1.MaintenanceFormVersion == t2.AutoID })
.Where((t1, t2) => t1.AutoID == plan.EquipmentID).Select((t1, t2) => t2).First();
if (formData == null)
{
throw new ArgumentException("当前设备的点检表不存在!");
}
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
dsDatas.Tables.Add(table2);
}

View File

@ -15,10 +15,9 @@ namespace DeviceRepair.DataAccess.Device
public class DeviceDa : BaseDa
{
private static readonly Logger log = LogManager.GetCurrentClassLogger();
public DeviceDa(IDictionary<string, string> apiParams) : base(apiParams)
{
}
/// <summary>
@ -38,7 +37,9 @@ namespace DeviceRepair.DataAccess.Device
var AuthString = GetParamString("Auths", "权限");
var auths = AuthString.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
var devIds = devMain.Ado.SqlQuery<int>("SELECT AutoID FROM dbo.View_DeviceRoot WHERE RootName IN (@RootName)", new { RootName = auths }).ToArray();
var devIds = devMain.Ado
.SqlQuery<int>("SELECT AutoID FROM dbo.View_DeviceRoot WHERE RootName IN (@RootName)",
new { RootName = auths }).ToArray();
var Datas = devMain.Queryable<DeviceInformationInfo>()
.Where(x => SqlFunc.ContainsArray(devIds, x.AutoID)).ToList();
@ -66,143 +67,26 @@ namespace DeviceRepair.DataAccess.Device
dsDatas = new DataSet("Datas");
try
{
if (!ApiParameters.ContainsKey("Auths"))
{
return new APIResponseData { Code = -1, Message = "没有设备信息查看权限!" };
}
var AuthString = GetParamString("Auths", "权限");
var auths = AuthString.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
var FilterValue = string.Empty;
if (ApiParameters.ContainsKey("FilterValue"))
FilterValue = GetParamString("FilterValue", "检索条件");
var Datas2 = devMain.Ado.UseStoredProcedure().GetDataTable("Proc_DeviceTreeViews", new { RootName = AuthString });
var Datas = Datas2.ToList<DeviceInformationInfoTree>();
if (!FilterValue.IsNull())
{
FilterValue = ApiParameters["FilterValue"];
Datas = Datas.Where(x => x.EquipmentID == FilterValue).ToList();
}
/* 获取权限分组 */
var route = devMain.Ado.SqlQuery<DeviceRouteInfo>(@";WITH cte
AS (SELECT AutoID,
Name
FROM dbo.DeviceRoute
WHERE (ParentID = 0)
UNION ALL
SELECT dr.AutoID,
cte_1.Name
FROM dbo.DeviceRoute AS dr
INNER JOIN cte AS cte_1
ON dr.ParentID = cte_1.AutoID)
SELECT DeviceRoute.*
FROM dbo.DeviceRoute
INNER JOIN cte ON cte.AutoID = DeviceRoute.AutoID WHERE cte.Name IN (@Name) AND Status = 1", new { Name = auths }).ToList();
var aid = 0;
int.TryParse(FilterValue, out aid);
var Root = route.ToDictionary(x => x.AutoID, x => x);
var Menus = new List<DeviceInformationInfoTree>();
foreach (KeyValuePair<int, DeviceRouteInfo> item in Root)
{
var dev = item.Value;
Menus.Add(new DeviceInformationInfoTree
{
EquipmentName = dev.Name,
RouteAutoId = dev.GUID,
ParentRouteId = dev.ParentID != 0 ? Root[dev.ParentID].GUID : Guid.Empty
});
}
var RouteIds = Root.Keys.ToArray();
var exp = Expressionable.Create<DeviceInformationInfoTree>()
.OrIF(aid > 0, t1 => t1.AutoID == aid)
.OrIF(!string.IsNullOrEmpty(FilterValue),
t1 => t1.EquipmentID.Equals(FilterValue, StringComparison.CurrentCultureIgnoreCase)
|| t1.EquipmentName.Contains(FilterValue)
|| t1.Remarks.Contains(FilterValue)
|| t1.Specification.Contains(FilterValue))
.And(t1 => SqlFunc.ContainsArray(RouteIds, t1.Route)).ToExpression();//拼接表达式
var Datas = devMain.Queryable<DeviceInformationInfo, MaintenanceFormVersionInfo, DeviceRouteInfo, MaintenanceFormVersionInfo>(
(t1, t2, t3, t4) => new object[] {
JoinType.Left, t1.MaintenanceFormVersion == t2.AutoID,
JoinType.Left, t1.Route == t3.AutoID,
JoinType.Left,t1.MaintenanceAMFormVersion == t4.AutoID
}
).With(SqlWith.NoLock).Select((t1, t2, t3, t4) => new DeviceInformationInfoTree
{
AutoID = t1.AutoID,
ChangeDate = t1.ChangeDate,
ChangeUser = t1.ChangeUser,
CreatDate = t1.CreatDate,
CreatUser = t1.CreatUser,
EquipmentCategory = t1.EquipmentCategory,
EquipmentID = t1.EquipmentID,
EquipmentName = t1.EquipmentName,
EquipmentOriginalvalue = t1.EquipmentOriginalvalue,
EquipmentStatus = t1.EquipmentStatus,
InstallationLocation = t1.InstallationLocation,
MaintenanceFormVersion = t1.MaintenanceFormVersion,
MaintenanceFormVersionName = t2.FormName,
MaintenanceAMFormVersion = t1.MaintenanceAMFormVersion,
MaintenanceAMFormVersionName = t4.FormName,
Manufacturer = t1.Manufacturer,
OperatingParameters = t1.OperatingParameters,
OwningUnit = t1.OwningUnit,
Remarks = t1.Remarks,
SerialNumber = t1.SerialNumber,
Specification = t1.Specification,
Totalcapacity = t1.Totalcapacity,
UsingDate = t1.UsingDate,
VersionCode = t2.VersionCode,
VersionRev = t2.VersionRev,
WarrantyPeriod = t1.WarrantyPeriod,
Weight = t1.Weight,
Route = t3.AutoID,
RouteAutoId = t1.GUID,
//ParentRouteId = SqlFunc.ContainsArray(RouteIds, t1.Route) ? Root[t1.Route].Guid : Guid.Empty
}).Where(exp)
.ToList();
var hasEmpty = Menus.Any(x => x.RouteAutoId == Guid.Empty);
foreach (DeviceInformationInfoTree item in Datas)
{
item.ParentRouteId = RouteIds.Contains(item.Route) ? Root[item.Route].GUID : Guid.Empty;
}
var HasValues = new List<Guid>();
var gids = Datas.Select(x => x.ParentRouteId).Distinct().ToArray();
do
{
if (HasValues.Count == 0)
HasValues.AddRange(gids);
gids = Menus.Where(x => gids.Contains(x.RouteAutoId)).Select(s => s.ParentRouteId).Distinct().ToArray();
HasValues.AddRange(gids);
} while (gids.All(x => x == Guid.Empty));
Menus.RemoveAll(x => !HasValues.Contains(x.RouteAutoId) && x.ParentRouteId != Guid.Empty);
Menus.AddRange(Datas);
foreach (DeviceRouteInfo item in route)
{
DeviceInformationInfoTree Node = Menus.FirstOrDefault(x => x.RouteAutoId == item.GUID);
List<DeviceInformationInfoTree> Child = Menus.Where(x => x.Route == item.AutoID).ToList();
if (Node != null && Child.Count > 0)
{
Node.Totalcapacity = Child.Sum(x => x.Totalcapacity);
Node.Weight = Child.Sum(x => x.Weight);
Node.EquipmentOriginalvalue = Child.Sum(x => x.EquipmentOriginalvalue);
}
}
var table = Menus.ToDataTable();
var table = Datas.ToDataTable();
dsDatas.Tables.Add(table);
return new APIResponseData { Code = 1, Message = "操作成功!" };
@ -256,10 +140,12 @@ namespace DeviceRepair.DataAccess.Device
ON dr.ParentID = cte_1.AutoID)
SELECT DeviceRoute.*
FROM dbo.DeviceRoute
INNER JOIN cte ON cte.AutoID = DeviceRoute.AutoID WHERE cte.Name IN (@Name) AND Status = 1", new { Name = auths }).ToList();
INNER JOIN cte ON cte.AutoID = DeviceRoute.AutoID WHERE cte.Name IN (@Name) AND Status = 1",
new { Name = auths }).ToList();
int[] routeIds = route.Select(x => x.AutoID).ToArray();
List<DeviceRouteInfo> Data = devMain.Queryable<DeviceRouteInfo>().Where(x => x.Status && SqlFunc.ContainsArray(routeIds, x.AutoID)).ToList();
List<DeviceRouteInfo> Data = devMain.Queryable<DeviceRouteInfo>()
.Where(x => x.Status && SqlFunc.ContainsArray(routeIds, x.AutoID)).ToList();
DataTable table = Data.ToDataTable();
dsDatas.Tables.Add(table);
@ -377,7 +263,8 @@ namespace DeviceRepair.DataAccess.Device
throw new ArgumentException("传入的操作员对象参数不正确!");
devMain.BeginTran();
DeviceInformationInfo Item = devMain.Queryable<DeviceInformationInfo>().First(x => x.AutoID == Data.AutoID);
DeviceInformationInfo Item = devMain.Queryable<DeviceInformationInfo>()
.First(x => x.AutoID == Data.AutoID);
if (Item == null)
throw new ArgumentException($"没有获取到设备编号为:【{Data.EquipmentID}】的设备信息!");
@ -397,6 +284,7 @@ namespace DeviceRepair.DataAccess.Device
Item.OwningUnit = Data.OwningUnit;
Item.OperatingParameters = Data.OperatingParameters;
Item.MaintenanceFormVersion = Data.MaintenanceFormVersion;
Item.MaintenanceAMFormVersion = Data.MaintenanceAMFormVersion;
Item.Route = Data.Route;
Data.ChangeDate = CurrentDate;
Data.ChangeUser = Operation;
@ -480,4 +368,4 @@ namespace DeviceRepair.DataAccess.Device
}
}
}
}
}

View File

@ -99,9 +99,11 @@
</ItemGroup>
<ItemGroup>
<Content Include="Script\5.0\Datas\Auths.sql" />
<Content Include="Script\5.0\Func\func_GetDailyPlanProccScheduleDetail.sql" />
<Content Include="Script\5.0\Func\SplitIn.sql" />
<Content Include="Script\5.0\Proc\Proc_AnnualEquipmentMaintenanceProgram.sql" />
<Content Include="Script\5.0\Proc\Proc_DeviceTreeViews.sql" />
<Content Include="Script\5.0\Proc\proc_EquipmentPlanIsComplete.sql" />
<Content Include="Script\5.0\Table\DriveMaintencePlanDaily.sql" />
<Content Include="Script\5.0\Table\UserConfirmHistory.sql" />
<Content Include="Script\5.0\Views\View_AMYearsMaintenancePlansExport.sql" />
@ -110,9 +112,7 @@
<Content Include="Script\5.0\Views\View_PM_Plan_Progress.sql" />
<Content Include="Script\5.0\Views\View_YearsMaintenancePlansExport.sql" />
</ItemGroup>
<ItemGroup>
<Folder Include="User\" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -163,33 +163,16 @@ namespace DeviceRepair.DataAccess.PLAN
try
{
if (!ApiParameters.ContainsKey("EquipmentID"))
{
throw new ArgumentException("传入的设备编号不能为空!");
}
if (!ApiParameters.ContainsKey("Year"))
{
throw new ArgumentException("传入的计划年不能为空!");
}
int EquipmentAutoID = 0;
if (!int.TryParse(ApiParameters["EquipmentID"], out EquipmentAutoID))
{
throw new ArgumentException("传入的设备编号格式不正确!");
}
int EquipmentAutoID = base.GetParamInt("EquipmentID", "设备编号");
int Year = DateTime.Today.Year;
if (!int.TryParse(ApiParameters["Year"], out Year))
{
throw new ArgumentException("传入的计划年格式不正确!");
}
int Year = base.GetParamInt("Year", "计划年");
if (!ApiParameters.ContainsKey("Belong"))
{
throw new ArgumentException("传入的计划类型不能为空!");
}
string Belong = ApiParameters["Belong"]?.Trim();
string Belong = base.GetParamString("Belong", "计划类型");
if (Belong.ToUpper() != "AM" && Belong.ToUpper() != "PM")
throw new ArgumentException("传入的计划类型值不正确!");
@ -394,17 +377,10 @@ namespace DeviceRepair.DataAccess.PLAN
throw new ArgumentException("传入的计划编号格式不正确!");
}
string sql = @"SELECT CONVERT(VARCHAR(15), DATEADD(DAY, number, DATEFROMPARTS(t1.MaintenanceYear, t1.MaintenanceMonth, 1)), 23) AS MaintenanceDay,
0 AS IsComplete
FROM dbo.DriveMaintencePlan t1
CROSS APPLY master.dbo.spt_values t2
WHERE t2.type = 'p'
AND t2.number <= DATEDIFF(
DAY,
DATEFROMPARTS(t1.MaintenanceYear, t1.MaintenanceMonth, 1),
EOMONTH(DATEFROMPARTS(t1.MaintenanceYear, t1.MaintenanceMonth, 1))
)
AND t1.AutoID = @PlanAutoID;";
string sql = @"SELECT MaintenanceDay,
IIF(COUNT(Banci) = SUM(IsComplete), 1, 0) AS IsComplete
FROM dbo.func_GetDailyPlanProccScheduleDetail(@PlanAutoID)
GROUP BY MaintenanceDay;";
return devMain.Ado.GetDataTable(sql, new { PlanAutoID }).DataSet;
}
@ -433,33 +409,10 @@ WHERE t2.type = 'p'
DataSet dsDatas = new DataSet("Datas");
try
{
if (!ApiParameters.ContainsKey("EquipmentID"))
{
throw new ArgumentException("传入的设备编号不能为空!");
}
int EquipmentAutoID = base.GetParamInt("EquipmentID", "设备编号");
int Year = base.GetParamInt("Year", "计划年");
string Belong = base.GetParamString("Belong", "计划类型");
if (!ApiParameters.ContainsKey("Year"))
{
throw new ArgumentException("传入的计划年不能为空!");
}
int EquipmentAutoID = 0;
if (!int.TryParse(ApiParameters["EquipmentID"], out EquipmentAutoID))
{
throw new ArgumentException("传入的设备编号格式不正确!");
}
int Year = DateTime.Today.Year;
if (!int.TryParse(ApiParameters["Year"], out Year))
{
throw new ArgumentException("传入的计划年格式不正确!");
}
if (!ApiParameters.ContainsKey("Belong"))
{
throw new ArgumentException("传入的计划类型不能为空!");
}
string Belong = ApiParameters["Belong"]?.Trim();
if (Belong.ToUpper() != "AM" && Belong.ToUpper() != "PM")
throw new ArgumentException("传入的计划类型值不正确!");
@ -522,33 +475,10 @@ WHERE t2.type = 'p'
try
{
if (!ApiParameters.ContainsKey("EquipmentID"))
{
throw new ArgumentException("传入的设备编号不能为空!");
}
int EquipmentAutoID = base.GetParamInt("EquipmentID", "设备编号");
int Year = base.GetParamInt("Year", "计划年");
string Belong = base.GetParamString("Belong", "计划类型");
if (!ApiParameters.ContainsKey("Year"))
{
throw new ArgumentException("传入的计划年不能为空!");
}
int EquipmentAutoID = 0;
if (!int.TryParse(ApiParameters["EquipmentID"], out EquipmentAutoID))
{
throw new ArgumentException("传入的设备编号格式不正确!");
}
int Year = DateTime.Today.Year;
if (!int.TryParse(ApiParameters["Year"], out Year))
{
throw new ArgumentException("传入的计划年格式不正确!");
}
if (!ApiParameters.ContainsKey("Belong"))
{
throw new ArgumentException("传入的计划类型不能为空!");
}
string Belong = ApiParameters["Belong"]?.Trim();
if (Belong.ToUpper() != "AM" && Belong.ToUpper() != "PM")
throw new ArgumentException("传入的计划类型值不正确!");
@ -588,34 +518,10 @@ WHERE t2.type = 'p'
{
try
{
if (!ApiParameters.ContainsKey("EquipmentID"))
{
throw new ArgumentException("传入的设备编号不能为空!");
}
int EquipmentAutoID = base.GetParamInt("EquipmentID", "设备编号");
int Year = base.GetParamInt("Year", "计划年");
string Belong = base.GetParamString("Belong", "计划类型");
if (!ApiParameters.ContainsKey("Year"))
{
throw new ArgumentException("传入的计划年不能为空!");
}
string EquipmentID = ApiParameters["EquipmentID"];
int EquipmentAutoID = 0;
if (!int.TryParse(ApiParameters["EquipmentID"], out EquipmentAutoID))
{
throw new ArgumentException("传入的设备编号格式不正确!");
}
int Year = DateTime.Today.Year;
if (!int.TryParse(ApiParameters["Year"], out Year))
{
throw new ArgumentException("传入的计划年格式不正确!");
}
if (!ApiParameters.ContainsKey("Belong"))
{
throw new ArgumentException("传入的计划类型不能为空!");
}
string Belong = ApiParameters["Belong"]?.Trim();
if (Belong.ToUpper() != "AM" && Belong.ToUpper() != "PM")
throw new ArgumentException("传入的计划类型值不正确!");
@ -671,28 +577,8 @@ WHERE t2.type = 'p'
try
{
if (!ApiParameters.ContainsKey("EquipmentID"))
{
throw new ArgumentException("传入的设备编号不能为空!");
}
if (!ApiParameters.ContainsKey("Year"))
{
throw new ArgumentException("传入的计划年不能为空!");
}
string EquipmentID = ApiParameters["EquipmentID"];
int EquipmentAutoID = 0;
if (!int.TryParse(ApiParameters["EquipmentID"], out EquipmentAutoID))
{
throw new ArgumentException("传入的设备编号格式不正确!");
}
int Year = DateTime.Today.Year;
if (!int.TryParse(ApiParameters["Year"], out Year))
{
throw new ArgumentException("传入的计划年格式不正确!");
}
int EquipmentAutoID = base.GetParamInt("EquipmentID", "设备编号");
int Year = base.GetParamInt("Year", "计划年");
List<View_PM_Plan_ProgressInfo> Datas = devMain.Queryable<View_PM_Plan_ProgressInfo>().Where(x => x.PlanYear == Year && x.EquipmentID == EquipmentAutoID).ToList();
if ((Datas?.Count ?? 0) == 0)
@ -819,6 +705,10 @@ WHERE t2.type = 'p'
item.Remarks = t.Remarks;
OperationList[EnumOperationType.Change].Add(item);
}
else
{
OperationList[EnumOperationType.Change].Add(item);
}
}
// 新增的计划
@ -944,5 +834,34 @@ WHERE t2.type = 'p'
}
}
/// <summary>
/// 判断当前开工设备是否存在未完成的保养计划
/// </summary>
/// <param name="EquipmentID"></param>
/// <returns></returns>
public APIResponseData Get_EquipmentPlanIsComplete(string EquipmentID)
{
try
{
if (EquipmentID.IsNull())
{
throw new ArgumentNullException("输入的设备编号参数不能为空!");
}
if (!devMain.Queryable<DeviceInformationInfo>().Any(x => x.EquipmentID == EquipmentID))
{
throw new ArgumentNullException("输入的设备编号错误或不存在!");
}
devMain.Ado.UseStoredProcedure().ExecuteCommand("proc_EquipmentPlanIsComplete", new { EquipmentDisplayID = EquipmentID });
return new APIResponseData { Code = 1 };
}
catch (Exception ex)
{
return new APIResponseData { Code = -1, Message = ex.Message };
}
}
}
}

View File

@ -36,17 +36,7 @@ namespace DeviceRepair.DataAccess.Preserve
dsDatas = new DataSet("Datas");
try
{
if (!ApiParameters.ContainsKey("AutoID"))
{
throw new ArgumentException("传入的保养记录编号不能为空!");
}
int AutoID = 0;
if (!int.TryParse(ApiParameters["AutoID"], out AutoID))
{
throw new ArgumentException("传入的保养记录编号格式不正确!");
}
int AutoID = base.GetParamInt("AutoID", "保养记录编号");
MaintenanceRecordInfo Data = devMain.Queryable<MaintenanceRecordInfo>().First(x => x.AutoID == AutoID);
if (Data == null)
{
@ -227,17 +217,9 @@ namespace DeviceRepair.DataAccess.Preserve
string OperationType = "新增";
DateTime CurrentDate = DateTime.Now;
int Identity = 0;
if (!ApiParameters.ContainsKey("OPERATORAUTOID"))
{
throw new ArgumentException("非法的操作,当前操作人参数不正确!");
}
int OperationID = Convert.ToInt32(ApiParameters["OPERATORAUTOID"] + "");
int OperationID = base.GetParamInt("OPERATORAUTOID", "当前操作人");
string Belong = base.GetParamString("Belong", "计划类型");
if (!ApiParameters.ContainsKey("Belong"))
{
throw new ArgumentException("传入的计划类型不能为空!");
}
string Belong = ApiParameters["Belong"]?.Trim();
if (Belong.ToUpper() != "AM" && Belong.ToUpper() != "PM")
throw new ArgumentException("传入的计划类型值不正确!");
@ -460,16 +442,7 @@ namespace DeviceRepair.DataAccess.Preserve
dsDatas = new DataSet("Datas");
try
{
if (!ApiParameters.ContainsKey("AutoID"))
{
throw new ArgumentException("传入的保养记录编号不能为空!");
}
int PlanPrimaryKey = 0;
if (!int.TryParse(ApiParameters["AutoID"], out PlanPrimaryKey))
{
throw new ArgumentException("传入的保养记录编号格式不正确!");
}
int PlanPrimaryKey = base.GetParamInt("AutoID", "保养记录编号");
if (PlanPrimaryKey == 0)
throw new ArgumentException("未能获取到查询条件:保养计划主键ID等于0的数据");

View File

@ -27,13 +27,7 @@ namespace DeviceRepair.DataAccess.SFC
BatchExists = false;
try
{
string Batch = string.Empty;
if (!ApiParameters.ContainsKey("Batch"))
{
throw new ArgumentException("参数批次号不能为空!");
}
Batch = ApiParameters["Batch"].Trim();
string Batch = base.GetParamString("Batch", "批次号");
int Count = sfcData.Queryable<InspBatchInfo>().Count(x => x.Batch.ToUpper().Equals(Batch.ToUpper()));
BatchExists = Count > 0;
return new APIResponseData { Code = 1 };

View File

@ -1,14 +1,14 @@
USE [DriveMaintenance]
GO
DECLARE @functionName NVARCHAR(128) = N'SplitIn'; -- 替换为您要查找的函数名称
DECLARE @functionName NVARCHAR(128) = N'SplitIn';
IF EXISTS (
SELECT 1
FROM sys.objects AS o
WHERE o.name = @functionName
AND o.type IN ('FN', 'TF') -- 表值函数的类型是 FN 或 TF
AND o.is_ms_shipped = 0 -- 排除系统提供的函数
AND o.type IN ('FN', 'TF')
AND o.is_ms_shipped = 0
)
BEGIN
DROP FUNCTION [dbo].[SplitIn]

View File

@ -0,0 +1,116 @@
USE [DriveMaintenance]
GO
DECLARE @functionName NVARCHAR(128) = N'func_GetDailyPlanProccScheduleDetail';
IF EXISTS (
SELECT 1
FROM sys.objects AS o
WHERE o.name = @functionName
AND o.type IN ('FN', 'TF')
AND o.is_ms_shipped = 0
)
BEGIN
DROP FUNCTION [dbo].[func_GetDailyPlanProccScheduleDetail]
END
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: 蔡峰
-- Create date: 2024-08-05
-- Description: 获取当前AM保养计划的计划进度
-- =============================================
CREATE FUNCTION [dbo].[func_GetDailyPlanProccScheduleDetail]
(
@PlanID INT
)
RETURNS @CompleteStausView TABLE
(
MaintenanceDay DATETIME,
Banci INT,
IsComplete INT
)
AS
BEGIN
DECLARE @FormID INT,
@TemplateJson VARCHAR(MAX),
@PlanStartDate DATETIME;
SELECT @PlanStartDate = DATEFROMPARTS(MaintenanceYear, MaintenanceMonth, 1)
FROM dbo.DriveMaintencePlan
WHERE AutoID = @PlanID;
/* 是否存在历史点检表 */
IF EXISTS
(
SELECT 1
FROM DeviceMaintenanceLog.dbo.DeviceLog
INNER JOIN dbo.DriveMaintencePlan
ON DriveMaintencePlan.EquipmentID = DeviceLog.EquipmentAutoID
WHERE DriveMaintencePlan.AutoID = @PlanID
)
BEGIN
SELECT @FormID = FormAutoID
FROM DeviceMaintenanceLog.dbo.DeviceLog
INNER JOIN dbo.DriveMaintencePlan
ON DriveMaintencePlan.EquipmentID = DeviceLog.EquipmentAutoID
WHERE DriveMaintencePlan.AutoID = @PlanID
ORDER BY OperationDate ASC;
END;
ELSE
BEGIN
SELECT @FormID = MaintenanceAMFormVersion
FROM dbo.DriveInformation
INNER JOIN dbo.DriveMaintencePlan
ON DriveMaintencePlan.EquipmentID = DriveInformation.AutoID
WHERE DriveMaintencePlan.AutoID = @PlanID;
END;
/* 模板信息 */
SELECT @TemplateJson = ContentData
FROM dbo.MaintenanceFormVersion
WHERE AutoID = @FormID;
IF (@TemplateJson IS NULL OR @TemplateJson = '')
BEGIN
RETURN;
END
/* 进度信息 */
INSERT INTO @CompleteStausView
(
MaintenanceDay,
Banci,
IsComplete
)
SELECT CONVERT(VARCHAR(15), DATEADD(DAY, t1.number, @PlanStartDate), 23) AS MaintenanceDay,
t2.Banci,
ISNULL(t3.IsComplete, 0) AS IsComplete
FROM master.dbo.spt_values t1
CROSS APPLY
OPENJSON((JSON_QUERY(@TemplateJson, '$.Operation')))
WITH
(
MaintenanceDay VARCHAR(50) '$.MaintenanceTypeValue',
Banci INT '$.BanciType',
Value VARCHAR(50) '$.Value'
) AS t2
LEFT JOIN
(
SELECT JSON_VALUE(ContentData, '$.Operation[0].BanciType') AS Banci,
JSON_VALUE(ContentData, '$.Operation[0].MaintenanceTypeValue') AS [Day],
1 AS IsComplete
FROM dbo.MaintenanceRecord
WHERE PlanPrimaryID = @PlanID
) t3
ON (t1.number + 1) = t3.Day
AND t3.Banci = t2.Banci
WHERE t1.type = 'p'
AND t1.number <= DATEDIFF(DAY, @PlanStartDate, EOMONTH(@PlanStartDate))
AND (t1.number + 1) = t2.MaintenanceDay;
RETURN;
END;

View File

@ -1,5 +1,11 @@
USE [DriveMaintenance]
GO
IF OBJECT_ID('Proc_AnnualEquipmentMaintenanceProgram', 'P') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Proc_AnnualEquipmentMaintenanceProgram];
END;
/****** Object: StoredProcedure [dbo].[Proc_AnnualEquipmentMaintenanceProgram] Script Date: 2024/7/29 13:42:15 ******/
SET ANSI_NULLS ON
GO
@ -10,7 +16,7 @@ GO
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
ALTER PROCEDURE [dbo].[Proc_AnnualEquipmentMaintenanceProgram]
CREATE PROCEDURE [dbo].[Proc_AnnualEquipmentMaintenanceProgram]
@Year INT = 0,
@Keyword NVARCHAR(50) = ''
AS

View File

@ -3,127 +3,140 @@ GO
IF OBJECT_ID('Proc_DeviceTreeViews', 'P') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Proc_DeviceTreeViews]
END
DROP PROCEDURE [dbo].[Proc_DeviceTreeViews];
END;
SET ANSI_NULLS ON
SET ANSI_NULLS ON;
GO
SET QUOTED_IDENTIFIER ON
SET QUOTED_IDENTIFIER ON;
GO
-- =============================================
-- Author: 蔡峰
-- Create date: 2024年8月2日
-- Description: 获取树形结构的设备列表
-- =============================================
CREATE PROCEDURE dbo.Proc_DeviceTreeViews
@RootName varchar(50)
CREATE PROCEDURE dbo.Proc_DeviceTreeViews @RootName VARCHAR(50)
AS
BEGIN
BEGIN;
WITH Base
AS (SELECT t1.Route,
ISNULL(t2.ParentID, 0) AS ParentID,
ISNULL(t1.Totalcapacity, 0) AS Totalcapacity,
ISNULL(t1.Weight, 0) AS Weight,
ISNULL(t1.EquipmentOriginalvalue, 0) AS EquipmentOriginalvalue
FROM dbo.DriveInformation t1
LEFT JOIN dbo.DeviceRoute t2
ON t1.Route = t2.AutoID
),
LevelView
AS (SELECT AutoID,
GUID AS RouteAutoId,
CAST(0x0 AS UNIQUEIDENTIFIER) AS ParentRouteId,
ParentID,
Name,
1 AS Level
FROM dbo.DeviceRoute
WHERE ParentID = 0 AND Name IN (SELECT col FROM dbo.SplitIn(@RootName, ','))
UNION ALL
SELECT DeviceRoute.AutoID,
DeviceRoute.GUID,
LevelView.RouteAutoId,
LevelView.ParentID,
LevelView.Name,
LevelView.Level + 1 AS Level
FROM dbo.DeviceRoute
INNER JOIN LevelView
ON LevelView.AutoID = DeviceRoute.ParentID),
Total1
AS (SELECT vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.Level,
SUM(dev.Totalcapacity) AS Totalcapacity,
SUM(dev.Weight) AS Weight,
SUM(dev.EquipmentOriginalvalue) AS EquipmentOriginalvalue
FROM LevelView vw
LEFT JOIN dbo.DriveInformation dev
ON vw.AutoID = dev.Route
WHERE vw.Level = 3
GROUP BY vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.Level),
Total2
AS (SELECT vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.Level,
SUM(tl.Totalcapacity) AS Totalcapacity,
SUM(tl.Weight) AS Weight,
SUM(tl.EquipmentOriginalvalue) AS EquipmentOriginalvalue
FROM LevelView vw
INNER JOIN Total1 tl
ON tl.ParentRouteId = vw.RouteAutoId
GROUP BY vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.Level),
Total
AS (SELECT vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
SUM(tl.Totalcapacity) AS Totalcapacity,
SUM(tl.Weight) AS Weight,
SUM(tl.EquipmentOriginalvalue) AS EquipmentOriginalvalue
FROM LevelView vw
INNER JOIN Total2 tl
ON tl.ParentRouteId = vw.RouteAutoId
GROUP BY vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name
UNION ALL
SELECT Total2.AutoID,
Total2.RouteAutoId,
Total2.ParentRouteId,
Total2.ParentID,
Total2.Name,
Total2.Totalcapacity,
Total2.Weight,
Total2.EquipmentOriginalvalue
FROM Total2
UNION ALL
SELECT Total1.AutoID,
Total1.RouteAutoId,
Total1.ParentRouteId,
Total1.ParentID,
Total1.Name,
Total1.Totalcapacity,
Total1.Weight,
Total1.EquipmentOriginalvalue
FROM Total1)
FROM dbo.DriveInformation AS t1 WITH (NOLOCK)
LEFT JOIN dbo.DeviceRoute AS t2 WITH (NOLOCK)
ON t1.Route = t2.AutoID
WHERE t1.Route <> 0),
LevelView
AS (SELECT AutoID,
GUID AS RouteAutoId,
CAST(0x0 AS UNIQUEIDENTIFIER) AS ParentRouteId,
ParentID,
Name,
Name AS RootName,
1 AS Level
FROM dbo.DeviceRoute WITH (NOLOCK)
WHERE ParentID = 0
AND Name IN
(
SELECT col FROM dbo.SplitIn('KH,OEM', ',')
)
UNION ALL
SELECT DeviceRoute.AutoID,
DeviceRoute.GUID,
LevelView.RouteAutoId,
LevelView.ParentID,
DeviceRoute.Name,
LevelView.RootName,
LevelView.Level + 1 AS Level
FROM dbo.DeviceRoute WITH (NOLOCK)
INNER JOIN LevelView
ON LevelView.AutoID = DeviceRoute.ParentID),
Total1
AS (SELECT vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.RootName,
vw.Level,
SUM(dev.Totalcapacity) AS Totalcapacity,
SUM(dev.Weight) AS Weight,
SUM(dev.EquipmentOriginalvalue) AS EquipmentOriginalvalue
FROM LevelView vw
LEFT JOIN dbo.DriveInformation AS dev WITH (NOLOCK)
ON vw.AutoID = dev.Route
WHERE vw.Level = 3
GROUP BY vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.RootName,
vw.Level),
Total2
AS (SELECT vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.RootName,
vw.Level,
SUM(tl.Totalcapacity) AS Totalcapacity,
SUM(tl.Weight) AS Weight,
SUM(tl.EquipmentOriginalvalue) AS EquipmentOriginalvalue
FROM LevelView vw
INNER JOIN Total1 tl
ON tl.ParentRouteId = vw.RouteAutoId
GROUP BY vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.RootName,
vw.Level),
Total
AS (SELECT vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.RootName,
SUM(tl.Totalcapacity) AS Totalcapacity,
SUM(tl.Weight) AS Weight,
SUM(tl.EquipmentOriginalvalue) AS EquipmentOriginalvalue
FROM LevelView vw
INNER JOIN Total2 tl
ON tl.ParentRouteId = vw.RouteAutoId
GROUP BY vw.AutoID,
vw.RouteAutoId,
vw.ParentRouteId,
vw.ParentID,
vw.Name,
vw.RootName
UNION ALL
SELECT Total2.AutoID,
Total2.RouteAutoId,
Total2.ParentRouteId,
Total2.ParentID,
Total2.Name,
Total2.RootName,
Total2.Totalcapacity,
Total2.Weight,
Total2.EquipmentOriginalvalue
FROM Total2
UNION ALL
SELECT Total1.AutoID,
Total1.RouteAutoId,
Total1.ParentRouteId,
Total1.ParentID,
Total1.Name,
Total1.RootName,
Total1.Totalcapacity,
Total1.Weight,
Total1.EquipmentOriginalvalue
FROM Total1)
SELECT 0 AS AutoID,
NULL AS ChangeDate,
0 AS ChangeUser,
@ -188,14 +201,15 @@ SELECT t2.AutoID,
t2.WarrantyPeriod,
t2.Weight,
t2.AutoID AS Route,
t1.RouteAutoId,
t2.GUID AS RouteAutoId,
t1.ParentRouteId
FROM Total t1
INNER JOIN dbo.DriveInformation t2
LEFT JOIN dbo.MaintenanceFormVersion pm
ON pm.AutoID = t2.MaintenanceFormVersion
LEFT JOIN dbo.MaintenanceFormVersion am
ON am.AutoID = t2.MaintenanceAMFormVersion
ON t1.AutoID = t2.Route;
END
INNER JOIN dbo.DriveInformation AS t2 WITH (NOLOCK)
LEFT JOIN dbo.MaintenanceFormVersion AS pm WITH (NOLOCK)
ON pm.AutoID = t2.MaintenanceFormVersion
LEFT JOIN dbo.MaintenanceFormVersion AS am WITH (NOLOCK)
ON am.AutoID = t2.MaintenanceAMFormVersion
ON t1.AutoID = t2.Route
WHERE t2.Route <> 0;
END;
GO

View File

@ -0,0 +1,211 @@
USE DriveMaintenance;
GO
IF OBJECT_ID('Proc_AnnualEquipmentMaintenanceProgram', 'P') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Proc_AnnualEquipmentMaintenanceProgram];
END;
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: 蔡峰
-- Create date: 2024-8-5
-- Description: 判断当前开工设备是否存在未完成的保养计划
-- =============================================
CREATE PROCEDURE [dbo].[proc_EquipmentPlanIsComplete] @EquipmentDisplayID VARCHAR(50)
AS
BEGIN
BEGIN TRY
DECLARE @planId INT,
@devid INT,
@MaintenanceType NVARCHAR(50),
@MaintenanceMonth INT,
@Msg NVARCHAR(MAX);
DECLARE cursor_plan CURSOR FOR
SELECT pl.AutoID,
dev.AutoID,
pl.MaintenanceType,
pl.MaintenanceMonth
FROM dbo.DriveMaintencePlan pl
INNER JOIN dbo.DriveInformation dev
ON pl.EquipmentID = dev.AutoID
WHERE dev.EquipmentID = @EquipmentDisplayID
AND pl.PlanStatus = 'A'
AND pl.MaintenanceType IS NOT NULL
AND pl.MaintenanceYear = YEAR(GETDATE())
AND pl.MaintenanceMonth <= MONTH(GETDATE());
OPEN cursor_plan;
FETCH NEXT FROM cursor_plan
INTO @planId,
@devid,
@MaintenanceType,
@MaintenanceMonth;
WHILE @@FETCH_STATUS = 0
BEGIN
IF (@MaintenanceType = 'Daily')
BEGIN
SELECT MaintenanceDay,
Banci,
IsComplete
INTO #ScheduleDetail
FROM func_GetDailyPlanProccScheduleDetail(@planId);
/* 没有获取到点检表信息 */
IF NOT EXISTS (SELECT 1 FROM #ScheduleDetail)
BEGIN
RAISERROR('设备:%s存在保养类型%s ,未完成,请先完成保养 ', 16, 1, @EquipmentDisplayID, @MaintenanceType);
RETURN -1;
END;
ELSE
BEGIN
/* 存在未完成的历史日保养计划 */
IF EXISTS
(
SELECT 1
FROM #ScheduleDetail
WHERE MaintenanceDay < CAST(GETDATE() AS DATE)
AND IsComplete = 0
)
BEGIN
RAISERROR('设备:%s存在保养类型%s ,未完成,请先完成保养 ', 16, 1, @EquipmentDisplayID, @MaintenanceType);
RETURN -1;
END;
ELSE
BEGIN
/* 判断当日日保养完成进度 */
IF (DATEPART(HOUR, GETDATE()) > 12)
BEGIN
/* 早班 */
IF EXISTS
(
SELECT 1
FROM #ScheduleDetail
WHERE DATEDIFF(DAY, MaintenanceDay, GETDATE()) = 0
AND Banci = 1
AND IsComplete = 0
)
BEGIN
RAISERROR('设备:%s存在当日的早班保养未完成,请先完成保养 ', 16, 1, @EquipmentDisplayID);
RETURN -1;
END;
IF (DATEPART(HOUR, GETDATE()) > 17)
BEGIN
/* 中班 */
IF EXISTS
(
SELECT 1
FROM #ScheduleDetail
WHERE DATEDIFF(DAY, MaintenanceDay, GETDATE()) = 0
AND Banci = 2
AND IsComplete = 0
)
BEGIN
RAISERROR('设备:%s存在当日的中班保养未完成,请先完成保养 ', 16, 1, @EquipmentDisplayID);
RETURN -1;
END;
IF (DATEPART(HOUR, GETDATE()) > 22)
BEGIN
/* 晚班 */
IF EXISTS
(
SELECT 1
FROM #ScheduleDetail
WHERE DATEDIFF(DAY, MaintenanceDay, GETDATE()) = 0
AND Banci = 3
AND IsComplete = 0
)
BEGIN
RAISERROR('设备:%s存在当日的夜班保养未完成,请先完成保养 ', 16, 1, @EquipmentDisplayID);
RETURN -1;
END;
END;
END;
END;
END;
END;
DROP TABLE #ScheduleDetail;
END;
ELSE
BEGIN
IF NOT EXISTS
(
SELECT 1
FROM dbo.MaintenanceRecord
WHERE PlanPrimaryID = @planId
AND PlanType = @MaintenanceType
)
BEGIN
RAISERROR('设备:%s存在保养类型%s ,未完成,请先完成保养 ', 16, 1, @EquipmentDisplayID, @MaintenanceType);
RETURN -1;
END;
END;
FETCH NEXT FROM cursor_plan
INTO @planId,
@devid,
@MaintenanceType,
@MaintenanceMonth;
END;
CLOSE cursor_plan;
DEALLOCATE cursor_plan;
--/* 日保养提醒 */
--SELECT dt.MaintenanceDay,
-- CASE
-- WHEN dt.Banci = 1 THEN
-- DATEADD(HOUR, 12, dt.MaintenanceDay)
-- WHEN dt.Banci = 2 THEN
-- DATEADD(HOUR, 17, dt.MaintenanceDay)
-- WHEN dt.Banci = 3 THEN
-- DATEADD(HOUR, 22, dt.MaintenanceDay)
-- END AS LastCompleteDate,
-- dt.Banci,
-- dt.IsComplete
--FROM dbo.DriveMaintencePlan pln
-- INNER JOIN dbo.DriveInformation dev
-- ON pln.EquipmentID = dev.AutoID
-- CROSS APPLY dbo.func_GetDailyPlanProccScheduleDetail(pln.AutoID) dt
--WHERE dev.EquipmentID = @EquipmentDisplayID
-- AND pln.MaintenanceType = 'Daily'
-- AND pln.MaintenanceYear = YEAR(GETDATE())
-- AND pln.MaintenanceMonth = MONTH(GETDATE())
-- AND DATEDIFF(DAY, GETDATE(), dt.MaintenanceDay) = 0;
END TRY
BEGIN CATCH
IF OBJECT_ID('tempdb..#ScheduleDetail') IS NOT NULL
BEGIN
DROP TABLE #ScheduleDetail;
END;
CLOSE cursor_plan;
DEALLOCATE cursor_plan;
DECLARE @ErrorMessage NVARCHAR(4000);
DECLARE @ErrorSeverity INT;
DECLARE @ErrorState INT;
SELECT @ErrorMessage = ERROR_MESSAGE(),
@ErrorSeverity = ERROR_SEVERITY(),
@ErrorState = ERROR_STATE();
IF @@TRANCOUNT > 0
ROLLBACK TRAN BIZ_ADDON_NCMR_SAVE;
RAISERROR(@ErrorMessage, @ErrorSeverity, @ErrorState);
RETURN -1;
END CATCH;
END;

View File

@ -15,7 +15,7 @@ namespace DeviceRepair.DataAccess.Tag
public class TagDa : BaseDa
{
private static readonly Logger log = LogManager.GetCurrentClassLogger();
public TagDa(IDictionary<string, string> apiParams) : base(apiParams)
{
@ -29,37 +29,33 @@ namespace DeviceRepair.DataAccess.Tag
DateTime sDate = DateTime.Today.AddMonths(-1);
if (!ApiParameters.ContainsKey("sDate"))
{
if (DateTime.TryParse(ApiParameters["sDate"], out sDate))
sDate = base.GetParamDateTime("sDate", "开始时间");
if (sDate < new DateTime(1900, 01, 01))
{
if (sDate < new DateTime(1900, 01, 01))
{
sDate = new DateTime(1900, 01, 01);
}
sDate = new DateTime(1900, 01, 01);
}
}
DateTime eDate = DateTime.Today.AddDays(1).AddMilliseconds(-1);
if (!ApiParameters.ContainsKey("eDate"))
{
if (DateTime.TryParse(ApiParameters["eDate"], out eDate))
eDate = base.GetParamDateTime("eDate", "结束时间");
if (eDate.Date > DateTime.Today)
{
if (eDate.Date > DateTime.Today)
{
sDate = DateTime.Today.AddDays(1).AddMilliseconds(-1);
}
sDate = DateTime.Today.AddDays(1).AddMilliseconds(-1);
}
}
string EquipmentDisPlayID = string.Empty;
if (!ApiParameters.ContainsKey("EquipmentDisPlayID"))
{
EquipmentDisPlayID = ApiParameters["EquipmentDisPlayID"]?.Trim();
EquipmentDisPlayID = base.GetParamString("EquipmentDisPlayID", "设备编号");
}
string TagFormStatus = string.Empty;
if (!ApiParameters.ContainsKey("TagFormStatus"))
{
TagFormStatus = ApiParameters["TagFormStatus"]?.Trim();
TagFormStatus = base.GetParamString("TagFormStatus", "表单状态");
}
var exp = Expressionable.Create<TagRecordInfo>()
@ -98,12 +94,7 @@ namespace DeviceRepair.DataAccess.Tag
if (Data == null || Data.Rows.Count == 0)
throw new ArgumentException($"待插入的数据库对象不能为空");
if (!ApiParameters.ContainsKey("OPERATORAUTOID"))
throw new ArgumentException("传入的操作员对象参数不正确,操作员不能为空!");
int Operation = 0;
if (!int.TryParse(ApiParameters["OPERATORAUTOID"], out Operation))
throw new ArgumentException("传入的操作员对象参数不正确!");
int Operation = base.GetParamInt("OPERATORAUTOID", "操作员");
devMain.BeginTran();
TagRecordInfo Model = DTOHelper<TagRecordInfo>.DataTableToList(Data)?.FirstOrDefault();
@ -194,22 +185,10 @@ namespace DeviceRepair.DataAccess.Tag
if (tagRecordInfo == null)
throw new Exception($"找不到Tag编号为【{Model.AutoID}】的Tag表单!");
if (!ApiParameters.ContainsKey("TagOperation"))
throw new ArgumentException("传入的电子签操作员对象参数不正确,操作员不能为空!");
int Operation = base.GetParamInt("TagOperation", "电子签操作员");
CurrentTime = base.GetParamDateTime("TagOperationDate", "电子签操作时间");
int Operation = 0;
if (!int.TryParse(ApiParameters["TagOperation"], out Operation))
throw new ArgumentException("传入的电子签操作员对象参数不正确!");
if (!ApiParameters.ContainsKey("TagOperationDate"))
throw new ArgumentException("传入的电子签操作时间不能为空!");
if (!DateTime.TryParse(ApiParameters["TagOperationDate"], out CurrentTime))
throw new ArgumentException("传入的电子签操作时间参数不正确!");
string TagOperationName = string.Empty;
if (!ApiParameters.ContainsKey("TagOperationName"))
throw new ArgumentException("传入的电子签操作人名称不能为空!");
string TagOperationName = base.GetParamString("TagOperationName", "电子签操作人名称");
TagOperationName = ApiParameters["TagOperationName"];

View File

@ -116,7 +116,7 @@
this.tvDevices.OptionsView.AutoWidth = false;
this.tvDevices.OptionsView.BestFitNodes = DevExpress.XtraTreeList.TreeListBestFitNodes.All;
this.tvDevices.RowHeight = 31;
this.tvDevices.Size = new System.Drawing.Size(1830, 831);
this.tvDevices.Size = new System.Drawing.Size(1614, 831);
this.tvDevices.TabIndex = 13;
this.tvDevices.TreeLevelWidth = 23;
this.tvDevices.CustomColumnDisplayText += new DevExpress.XtraTreeList.CustomColumnDisplayTextEventHandler(this.tvDevices_CustomColumnDisplayText);
@ -352,7 +352,7 @@
//
// EditSearch
//
this.EditSearch.Location = new System.Drawing.Point(1472, 19);
this.EditSearch.Location = new System.Drawing.Point(1256, 19);
this.EditSearch.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
this.EditSearch.Name = "EditSearch";
this.EditSearch.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
@ -375,7 +375,7 @@
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
this.layoutControl1.Name = "layoutControl1";
this.layoutControl1.Root = this.Root;
this.layoutControl1.Size = new System.Drawing.Size(1854, 900);
this.layoutControl1.Size = new System.Drawing.Size(1638, 900);
this.layoutControl1.TabIndex = 1;
this.layoutControl1.Text = "layoutControl1";
//
@ -402,7 +402,7 @@
this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
rowDefinition1,
rowDefinition2});
this.Root.Size = new System.Drawing.Size(1854, 900);
this.Root.Size = new System.Drawing.Size(1638, 900);
this.Root.TextVisible = false;
//
// layoutControlItem2
@ -414,7 +414,7 @@
this.layoutControlItem2.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
this.layoutControlItem2.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
this.layoutControlItem2.Control = this.EditSearch;
this.layoutControlItem2.Location = new System.Drawing.Point(1384, 0);
this.layoutControlItem2.Location = new System.Drawing.Point(1168, 0);
this.layoutControlItem2.Name = "layoutControlItem2";
this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
this.layoutControlItem2.OptionsToolTip.ToolTip = "输入设备编号/设备名称/设备型号查询";
@ -429,7 +429,7 @@
this.layoutControlItem1.Name = "layoutControlItem1";
this.layoutControlItem1.OptionsTableLayoutItem.ColumnSpan = 2;
this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1;
this.layoutControlItem1.Size = new System.Drawing.Size(1834, 835);
this.layoutControlItem1.Size = new System.Drawing.Size(1618, 835);
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem1.TextVisible = false;
//
@ -441,7 +441,7 @@
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.ClientSize = new System.Drawing.Size(1854, 900);
this.ClientSize = new System.Drawing.Size(1638, 900);
this.Controls.Add(this.layoutControl1);
this.Name = "page_DriveTypeTree";
this.Text = "page_DriveTypeTree";

View File

@ -88,7 +88,7 @@ namespace TsSFCDevice.Client.Biz.Impl
/// </summary>
/// <param name="Auths"></param>
/// <returns></returns>
public IList<DeviceInformationInfoTree> GetTreeDatas(List<string> Auths)
public IList<DeviceInformationInfoTree> GetTreeDatas(List<string> Auths,string FilterValue = "")
{
try
{
@ -99,6 +99,8 @@ namespace TsSFCDevice.Client.Biz.Impl
byte[] btResults = null;
ApiParameters?.Clear();
ApiParameters.Add("Auths", string.Join(",", Auths));
if (!FilterValue.IsNull())
ApiParameters.Add("FilterValue", FilterValue);
var Rtn = Utility.SfcBizService.CurrentSvc.Get_DEVICE_TreeDatas(GetParameters(), out btResults);
if (Rtn.Code != 1)

View File

@ -6,10 +6,12 @@ using DeviceRepair.Models.SFC;
using DeviceRepair.Utils;
using NLog;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using TsSFCDevice.Client.Biz.Base.Service;
using TsSFCDevice.Client.Biz.Base.Utils;
@ -593,6 +595,28 @@ namespace TsSFCDevice.Client.Biz.Impl
}
}
/// <summary>
/// 判断当前开工设备是否存在未完成的保养计划
/// </summary>
/// <param name="EquipmentID"></param>
/// <returns></returns>
public APIResponseData Get_EquipmentPlanIsComplete(string EquipmentID)
{
try
{
ApiParameters?.Clear();
ApiParameters.Add("EquipmentID", EquipmentID);
var Rtn = Utility.SfcBizService.CurrentSvc.Get_EquipmentPlanIsComplete(GetParameters());
return new APIResponseData { Code = Rtn.Code, Message = Rtn.Message };
}
catch (Exception ex)
{
log.Error(ex.Message, ex);
throw ex;
}
}
#region
internal string GetParameters(string cOperator = "", bool bFlag = true)

View File

@ -0,0 +1,62 @@
using DeviceRepair.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TsSFCDevice.Client.Biz.Impl;
namespace TsSFCDevice.Client.Biz
{
public class Scheduler
{
public delegate void CallBackEventHandler(string args, object value);
public event CallBackEventHandler CallBack;
private static Scheduler manager;
public static Scheduler Instance
{
get
{
if (manager == null)
manager = new Scheduler();
return manager;
}
}
/// <summary>
/// 启动
/// </summary>
public void Run()
{
Task.Run(() =>
{
while (true)
{
Console.WriteLine(DateTime.Now.ToLongTimeString());
GetSchedulerPlanTips();
Task.Delay(3000).Wait();
}
});
}
/// <summary>
/// 获取当年度 - 当月待保养计划 - 数量
/// </summary>
protected void GetSchedulerPlanTips()
{
try
{
IList<View_CurrentMonthPlanTips> lst = PlanRepository.Instance.Get_PM_PLAN_CurrentMonth();
CallBack?.Invoke("SchedulerPlanTips", (lst?.Count ?? 00));
}
catch (Exception ex)
{
CallBack?.Invoke("SchedulerPlanTips", ex.Message);
}
}
//
}
}

View File

@ -78,6 +78,7 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Include="Scheduler.cs" />
<Compile Include="Web References\DeviceSvc\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>

View File

@ -61,6 +61,7 @@
<s:enumeration value="Get_EquiAnnualPlans" />
<s:enumeration value="AM_PLAN_Scheduler" />
<s:enumeration value="SFC_Batch_PE_QE_Email" />
<s:enumeration value="Get_SFC_Auths" />
<s:enumeration value="Attachment" />
</s:restriction>
</s:simpleType>
@ -97,6 +98,20 @@
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Get_EquipmentPlanIsComplete">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="inParams" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Get_EquipmentPlanIsCompleteResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Get_EquipmentPlanIsCompleteResult" type="tns:APIResponseData" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Get_DEVICE_TreeDatas">
<s:complexType>
<s:sequence>
@ -954,6 +969,15 @@
<wsdl:message name="UserLoginSFCAuthorize">
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
</wsdl:message>
<wsdl:message name="Get_EquipmentPlanIsCompleteSoapIn">
<wsdl:part name="parameters" element="tns:Get_EquipmentPlanIsComplete" />
</wsdl:message>
<wsdl:message name="Get_EquipmentPlanIsCompleteSoapOut">
<wsdl:part name="parameters" element="tns:Get_EquipmentPlanIsCompleteResponse" />
</wsdl:message>
<wsdl:message name="Get_EquipmentPlanIsCompleteSFCAuthorize">
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
</wsdl:message>
<wsdl:message name="Get_DEVICE_TreeDatasSoapIn">
<wsdl:part name="parameters" element="tns:Get_DEVICE_TreeDatas" />
</wsdl:message>
@ -1387,6 +1411,11 @@
<wsdl:input message="tns:UserLoginSoapIn" />
<wsdl:output message="tns:UserLoginSoapOut" />
</wsdl:operation>
<wsdl:operation name="Get_EquipmentPlanIsComplete">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">判断当前开工设备是否存在未完成的保养计划</wsdl:documentation>
<wsdl:input message="tns:Get_EquipmentPlanIsCompleteSoapIn" />
<wsdl:output message="tns:Get_EquipmentPlanIsCompleteSoapOut" />
</wsdl:operation>
<wsdl:operation name="Get_DEVICE_TreeDatas">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">获取树形结构</wsdl:documentation>
<wsdl:input message="tns:Get_DEVICE_TreeDatasSoapIn" />
@ -1660,6 +1689,16 @@
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Get_EquipmentPlanIsComplete">
<soap:operation soapAction="http://www.TechScan.cn/Get_EquipmentPlanIsComplete" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:Get_EquipmentPlanIsCompleteSFCAuthorize" part="SFCAuthorize" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Get_DEVICE_TreeDatas">
<soap:operation soapAction="http://www.TechScan.cn/Get_DEVICE_TreeDatas" style="document" />
<wsdl:input>
@ -2163,6 +2202,16 @@
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Get_EquipmentPlanIsComplete">
<soap12:operation soapAction="http://www.TechScan.cn/Get_EquipmentPlanIsComplete" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:Get_EquipmentPlanIsCompleteSFCAuthorize" part="SFCAuthorize" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Get_DEVICE_TreeDatas">
<soap12:operation soapAction="http://www.TechScan.cn/Get_DEVICE_TreeDatas" style="document" />
<wsdl:input>

View File

@ -40,6 +40,8 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
private System.Threading.SendOrPostCallback UserLoginOperationCompleted;
private System.Threading.SendOrPostCallback Get_EquipmentPlanIsCompleteOperationCompleted;
private System.Threading.SendOrPostCallback Get_DEVICE_TreeDatasOperationCompleted;
private System.Threading.SendOrPostCallback Get_DEVICE_RouteOperationCompleted;
@ -191,6 +193,9 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
/// <remarks/>
public event UserLoginCompletedEventHandler UserLoginCompleted;
/// <remarks/>
public event Get_EquipmentPlanIsCompleteCompletedEventHandler Get_EquipmentPlanIsCompleteCompleted;
/// <remarks/>
public event Get_DEVICE_TreeDatasCompletedEventHandler Get_DEVICE_TreeDatasCompleted;
@ -453,6 +458,36 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Get_EquipmentPlanIsComplete", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public APIResponseData Get_EquipmentPlanIsComplete(string inParams) {
object[] results = this.Invoke("Get_EquipmentPlanIsComplete", new object[] {
inParams});
return ((APIResponseData)(results[0]));
}
/// <remarks/>
public void Get_EquipmentPlanIsCompleteAsync(string inParams) {
this.Get_EquipmentPlanIsCompleteAsync(inParams, null);
}
/// <remarks/>
public void Get_EquipmentPlanIsCompleteAsync(string inParams, object userState) {
if ((this.Get_EquipmentPlanIsCompleteOperationCompleted == null)) {
this.Get_EquipmentPlanIsCompleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_EquipmentPlanIsCompleteOperationCompleted);
}
this.InvokeAsync("Get_EquipmentPlanIsComplete", new object[] {
inParams}, this.Get_EquipmentPlanIsCompleteOperationCompleted, userState);
}
private void OnGet_EquipmentPlanIsCompleteOperationCompleted(object arg) {
if ((this.Get_EquipmentPlanIsCompleteCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.Get_EquipmentPlanIsCompleteCompleted(this, new Get_EquipmentPlanIsCompleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Get_DEVICE_TreeDatas", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
@ -2138,6 +2173,9 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
/// <remarks/>
SFC_Batch_PE_QE_Email,
/// <remarks/>
Get_SFC_Auths,
/// <remarks/>
Attachment,
}
@ -2262,6 +2300,32 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
public delegate void Get_EquipmentPlanIsCompleteCompletedEventHandler(object sender, Get_EquipmentPlanIsCompleteCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class Get_EquipmentPlanIsCompleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal Get_EquipmentPlanIsCompleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public APIResponseData Result {
get {
this.RaiseExceptionIfNecessary();
return ((APIResponseData)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
public delegate void Get_DEVICE_TreeDatasCompletedEventHandler(object sender, Get_DEVICE_TreeDatasCompletedEventArgs e);

View File

@ -102,6 +102,9 @@
//
// tvDevices
//
this.tvDevices.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 12F);
this.tvDevices.Appearance.HeaderPanel.Options.UseFont = true;
this.tvDevices.CaptionHeight = 31;
this.tvDevices.ColumnPanelRowHeight = 31;
this.tvDevices.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
this.colAutoID,

View File

@ -118,102 +118,102 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolbarFormManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>205, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bBtnSave.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFNhdmU7+ej5CQAAAvRJREFUOE+Fk11Ik1EYx1emIWIfVpqUkhkDwTRtbbr5
Oufmvpxz0+lsTrfhzK/8yO+VpgZFEXQTBN0GBSGFGEVRQXSZHxdhqRFdqE3nNCuXK2/+nedtFxJBB368
L+85/995znl4BaGxnRHG2PEX4f8gIgTNb2MIwjhNxStOVwGbewC9Q7fRNXAL7edvorn3Bhrar8PdcgWO
hkuodPdDb2mBrKAcWcrS1yxLQkEEp7XCM3gNVlcfAsFNBDb+sB7i+49N+L78gHclALWpAa09l5CtKgXL
RpJgp7SgDN39V2Gp9vBBWry4SgT4kFiqgZjTYmLWB6XBjRJbHSQKMwmiSBBJto7zl2GydfE7UtgbCn+Y
W0MWp4O6yIYFfwByrZMJaiGSF5MgmgRR4nwz2lhZReVtrNxfWFgO4JP3G95+9GOc7copjDCUOjG/vI6c
giqYT9cikzOQYDcJok/JjWjuHIS2pInfdfKDDxMzPowzxhhvppcwx8JzvnV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n70Y5ztyimMMJQ6Mb+8jpyCKphP1yKTM5BgNwmi
T8mNaO4chLakid918oMPEzM+jDPGGG+mlzDHwnO+dWQrbDBVuJEu1ZJgLwl2ka2xrQ8qYx3yC2uh0NdA
rnEhV+NAjsoOqbKSBU8jK68CErkVxdYaHBerSbCPBHvSpTqcafGAKzDBWO5iOFFU5oTB4mBUo7C0GvqS
KuhK7NCZK9mcCykiJQkOkCAmVaJGTVMPL/jfkCnZfVhcEGbkkSCOBPtTRCo46jpYucX8otXvP7H6jQhi
9WsQfvbuZ88VhiRPzypyIDmNI0E8CWLJZne3sjMaeIGfBSnAsxbE8toGj48hkqnZUaqQlColwSESHDyW
ngur8yy7ID36R2dxYWQGPQ+n0Tk8jbb779F87x0a706h/s4UTso00BRXIjFFQoIEEsQnpcpgsddDlKPF
9ddLuPpqEZdfejH0/DP6ni7A83ge3aNz6GBkZKtYV8xIEIpIkEiCmMPCzDEyZkjVMA29RNHFF9B5nkHd
/QSKc4/ANY8gu/4BTtUOI02cD+EJDnFHjk+yLN8F+i2pn2Q7soWkLRzdQnLoW6xAIAj/DQXi/m5m2Bwf
AAAAAElFTkSuQmCC
</value>
</data>
<data name="bBtnSave.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFNhdmU7+ej5CQAACUBJREFUWEfFlndU1FcWx92SLcnGJKZt/Xf/irtRUYpI
770NMMPQGRiYAQYYehkYekekSEBFsSBipCii2ILBGmPBLihFkQgq0oSo57v3/YYhIbjHnD0nZ985Hx6P
mcP3e+8r9y4B8H/lp+NXxK//R37zM1B/l+ksGuyDt4jfE3/8CW+/gXd+Juy77P8zMwtMsMVbYelbMuR5
O19GF9QjpnA34orrwRenw9YjBraCGHiIUpFfthu5pfXILtmBzKLtUB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cjnA6cICibOiEVDsJoTM+8wPj095RqBjUiE7PzaVZFrY6cCROjUxgi
AwaW/rChoGx4UbB2ofNB26CxzvW/GzCyl1L9LodrQAbcROk0UzvmHokpin6cxHe3X8PO/VdQVf8NSref
RQmLvEYd+TEoig8jsaCdEx+isr2OXk4mbE31wcJJRt1QNFbquDADfyEWGfhEz1qMwKj1cPZN43DxVcCK
F8alf4y1YCxy6ojYnrPIR7jIWfulivwhg4SHRibxgNCm0syEGeaO4bDmRWKFjtNrDbDFp7oWgfAPK6BT
mwwHhjAJ5nSSWfRjJP50fBajXNp/6Ps4ceIhRc2Jj05w4qwl09IXwMwhnAiDqX0Y9QIR+FyLM/BXgjWm
Cw1om/rRi5ZNBycedgIVJnZiVHT2I+dQDzLa7iCx+Qbi991AzN7riG68jsiG65DVX0PYzquQ7LiK4Lpu
BG3rRuDWbjpw7lT9QmFqFwoTWynMyci/1zgyA38jFhvQNPamlyydTmwsrN1iOAypwdh45hEKTgwh88gD
pB0aRMrBASQdGED8/n7EtvQhuqkPkfvuQdZ4F+GEtKEXkt091KDy6CZIYETiRjSbkpnlaxxea4C7hmsM
PF+5+adSCZbDyjkKloQedTllXcPIPaYSV7QPIrltEAlkIK6lH9HNfYgi8Yi9KvHQPb2cgZD6Xq5JZcJq
jG0l+Gy1/QvSWvAOsB9cR7Rc06FolR7/lQY1oiupFWNo0j56FnbBNesrOKYdhW1yB6wTDsEi9iBM5Adg
GNGKdaFN0JHsg6a4EatFe7DKfzc+99mF5RoO+EzDnmO5ilf//JdJPmmpWzLOABvsF+aItcvsmWSHhKXp
Tfz9DfzjR7A1u/9MfD796sEW6kyw7WBf+CVgQaojX2BAPdQf/NLMjSVL/gMGC1sK0EICNQAAAABJRU5E
rkJggg==
</value>
</data>
<data name="page_AssignDriveTree.IconOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0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qFwnh0CulPQncLR9CYc3ZZhujEQ04wBsHd9A/YuS6pF8zBC85gX0cPIAzN4hko0qeQ0K5gmDZYc3YMk
mlSiSaXpMwMkmlSyd1kqTTUslqYQds6v0Vz/oQA331Xape3RHOhOqflX3SsOC3vWpZUYueEB/uzyq8M/
ou5oj1x66mTrnXJwhnHnUcOFXcWu2PU1wW2xi9zuLDRUbtnvYCJdn+QsRzcddVyIXESf1FynW9XNH+Jm
Vz6Rp5CDFuL75p1IzXHmU46VXrr3c2Udv7a8ElK/pIOOaOz8HDW3U3GpbbOFy79shbkjE0lfOfIzHK6X
LvmArLOcmqwS99nTaSYMJeZAlDetwNnm1ShvDMUJ6p9oCEbC3qkcMEYvHY+TbjAhH1oGRafbobBuPjIr
p8hkXLCj1k5uj9R4IzLtVQ6YoJeOx0lnObQMDf/AFtmXfZB+7mWZj5hvbWW+rHZH2DYbDpikhy7rojtW
0jjp+LsinxmGh6S8RAlM2HPWBnvOTMZuGWvsPm2NzPMGBCdZc4CNHrpPvzMgJGUy60YTcgHDliZObE0t
moYdFZNktpervIh38+3wetwL/I23Jl3b/9WlFNhhScJE1vGpSX4EA53mjw7yixzf7h89Af5Rz4GuMTdi
HPzWjIPPyrHtU7xGrCDdmBn+o5brobP3GRlCOsvRnavgzjPEeGIC8bwCX/P3n4/ZA4inCD10PM7LL+8D
/Icr4Y2B/6Xqr4H77OciWcOvjR46Hn9oO1b373+CTeTvDpvI3x0ySfoLXBkamf6BV/AAAAAASUVORK5C
YII=
</value>
</data>
</root>

View File

@ -70,6 +70,7 @@
this.txt_OperatingParameters = new DevExpress.XtraEditors.TextEdit();
this.txt_Remarks = new DevExpress.XtraEditors.TextEdit();
this.btn_SelectFormRev = new DevExpress.XtraEditors.ButtonEdit();
this.btn_AM_Form = new DevExpress.XtraEditors.ButtonEdit();
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
@ -89,13 +90,12 @@
this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::TsSFCDevice.Client.Launch.frmWaiting), true, true);
this.dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
this.btn_AM_Form = new DevExpress.XtraEditors.ButtonEdit();
this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
stackPanel1 = new DevExpress.Utils.Layout.StackPanel();
((System.ComponentModel.ISupportInitialize)(stackPanel1)).BeginInit();
stackPanel1.SuspendLayout();
@ -121,6 +121,7 @@
((System.ComponentModel.ISupportInitialize)(this.txt_OperatingParameters.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_Remarks.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_SelectFormRev.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_AM_Form.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
@ -140,12 +141,11 @@
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_AM_Form.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
this.SuspendLayout();
//
// stackPanel1
@ -570,11 +570,33 @@
this.btn_SelectFormRev.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", 30, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
this.btn_SelectFormRev.Properties.ReadOnly = true;
this.btn_SelectFormRev.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.btn_SelectFormRev.Size = new System.Drawing.Size(353, 26);
this.btn_SelectFormRev.StyleController = this.layoutControl2;
this.btn_SelectFormRev.TabIndex = 19;
this.btn_SelectFormRev.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btn_SelectFormRev_ButtonClick);
//
// btn_AM_Form
//
this.btn_AM_Form.Location = new System.Drawing.Point(695, 489);
this.btn_AM_Form.Name = "btn_AM_Form";
this.btn_AM_Form.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.Appearance.Options.UseFont = true;
this.btn_AM_Form.Properties.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.AppearanceDisabled.Options.UseFont = true;
this.btn_AM_Form.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.AppearanceFocused.Options.UseFont = true;
this.btn_AM_Form.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.AppearanceReadOnly.Options.UseFont = true;
this.btn_AM_Form.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.btn_AM_Form.Properties.ReadOnly = true;
this.btn_AM_Form.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.btn_AM_Form.Size = new System.Drawing.Size(353, 26);
this.btn_AM_Form.StyleController = this.layoutControl2;
this.btn_AM_Form.TabIndex = 24;
this.btn_AM_Form.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btn_AM_Form_ButtonClick);
//
// layoutControlGroup1
//
this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
@ -921,6 +943,23 @@
this.layoutControlItem17.Text = "PM的点检表";
this.layoutControlItem17.TextSize = new System.Drawing.Size(151, 19);
//
// layoutControlItem12
//
this.layoutControlItem12.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
this.layoutControlItem12.AppearanceItemCaption.Options.UseFont = true;
this.layoutControlItem12.AppearanceItemCaptionDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.layoutControlItem12.AppearanceItemCaptionDisabled.Options.UseFont = true;
this.layoutControlItem12.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
this.layoutControlItem12.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
this.layoutControlItem12.Control = this.btn_AM_Form;
this.layoutControlItem12.Location = new System.Drawing.Point(520, 463);
this.layoutControlItem12.Name = "layoutControlItem12";
this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 1;
this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 8;
this.layoutControlItem12.Size = new System.Drawing.Size(520, 58);
this.layoutControlItem12.Text = "AM的点检表";
this.layoutControlItem12.TextSize = new System.Drawing.Size(151, 19);
//
// Root
//
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
@ -958,42 +997,6 @@
//
this.dxErrorProvider1.ContainerControl = this;
//
// btn_AM_Form
//
this.btn_AM_Form.Location = new System.Drawing.Point(695, 489);
this.btn_AM_Form.Name = "btn_AM_Form";
this.btn_AM_Form.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.Appearance.Options.UseFont = true;
this.btn_AM_Form.Properties.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.AppearanceDisabled.Options.UseFont = true;
this.btn_AM_Form.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.AppearanceFocused.Options.UseFont = true;
this.btn_AM_Form.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 12F);
this.btn_AM_Form.Properties.AppearanceReadOnly.Options.UseFont = true;
this.btn_AM_Form.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.btn_AM_Form.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.btn_AM_Form.Size = new System.Drawing.Size(353, 26);
this.btn_AM_Form.StyleController = this.layoutControl2;
this.btn_AM_Form.TabIndex = 24;
//
// layoutControlItem12
//
this.layoutControlItem12.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
this.layoutControlItem12.AppearanceItemCaption.Options.UseFont = true;
this.layoutControlItem12.AppearanceItemCaptionDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.layoutControlItem12.AppearanceItemCaptionDisabled.Options.UseFont = true;
this.layoutControlItem12.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
this.layoutControlItem12.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
this.layoutControlItem12.Control = this.btn_AM_Form;
this.layoutControlItem12.Location = new System.Drawing.Point(520, 463);
this.layoutControlItem12.Name = "layoutControlItem12";
this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 1;
this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 8;
this.layoutControlItem12.Size = new System.Drawing.Size(520, 58);
this.layoutControlItem12.Text = "AM的点检表";
this.layoutControlItem12.TextSize = new System.Drawing.Size(151, 19);
//
// Page_DriveInfoEdit
//
this.AcceptButton = this.btn_Submit;
@ -1034,6 +1037,7 @@
((System.ComponentModel.ISupportInitialize)(this.txt_OperatingParameters.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_Remarks.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_SelectFormRev.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_AM_Form.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
@ -1053,12 +1057,11 @@
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_AM_Form.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
this.ResumeLayout(false);
}

View File

@ -15,6 +15,8 @@ namespace TsSFCDevice.Client.Launch.Device
private View_DriveInfomationModel CurrentModel;
private int FormVerValue = 0;
private string FormVerName = "";
private int AMFormVerValue = 0;
private string AMFormVerName = "";
public DeviceInformationInfo OperationObject;
public DateTime ServiceTime;
@ -39,7 +41,7 @@ namespace TsSFCDevice.Client.Launch.Device
txt_Route.Tag = CurrentModel.Route;
if (CurrentModel.Route > 0)
{
txt_Route.EditValue = Utility.SystemRuntimeInfo.CurrentDevRootCaches.FirstOrDefault(x=>x.AutoID == CurrentModel.Route)?.Name;
txt_Route.EditValue = Utility.SystemRuntimeInfo.CurrentDevRootCaches.FirstOrDefault(x => x.AutoID == CurrentModel.Route)?.Name;
}
//txt_Route.EditValue = CurrentModel.RouteText;
@ -189,6 +191,7 @@ namespace TsSFCDevice.Client.Launch.Device
OwningUnit = txt_OwningUnit.Text,
OperatingParameters = txt_OperatingParameters.Text,
MaintenanceFormVersion = FormVerValue,
MaintenanceAMFormVersion = AMFormVerValue,
Remarks = txt_Remarks.Text
};
@ -466,5 +469,20 @@ namespace TsSFCDevice.Client.Launch.Device
}
}
}
private void btn_AM_Form_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
int Value = 0;
int.TryParse(AMFormVerValue + "", out Value);
Page_FormVersionDialog view = new Page_FormVersionDialog(Value, DeviceRepair.Models.Enum.EnumDeviceBelong.AM);
if (view.ShowDialog(this) == DialogResult.OK)
{
CurrentModel.MaintenanceAMFormVersion = view.SelectValue;
AMFormVerValue = view.SelectValue;
AMFormVerName = view.SelectText + "";
btn_AM_Form.Text = AMFormVerName;
}
}
}
}

View File

@ -121,7 +121,7 @@
<value>False</value>
</metadata>
<metadata name="dxErrorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>205, 17</value>
<value>208, 17</value>
</metadata>
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="Page_DriveInfoEdit.IconOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -1,5 +1,6 @@
using DevExpress.XtraEditors;
using DeviceRepair.Models;
using DeviceRepair.Models.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
@ -13,10 +14,18 @@ namespace TsSFCDevice.Client.Launch.Device
public int SelectValue = 0;
public string SelectText = string.Empty;
public Page_FormVersionDialog(int AutoID)
private EnumDeviceBelong Belong = EnumDeviceBelong.PM;
public Page_FormVersionDialog() : this(0)
{
}
public Page_FormVersionDialog(int AutoID, EnumDeviceBelong belong = EnumDeviceBelong.PM)
{
InitializeComponent();
SelectValue = AutoID;
Belong = belong;
}
private void btn_Submit_Click(object sender, EventArgs e)
@ -88,7 +97,7 @@ namespace TsSFCDevice.Client.Launch.Device
try
{
List<MaintenanceFormVersionInfo> result = CheckFormRepository.Instance.GetDatas()?.ToList();
List<MaintenanceFormVersionInfo> lst = result.Where(x => x.FormStatus == true)?.ToList();
List<MaintenanceFormVersionInfo> lst = result.Where(x => x.FormStatus == true && (x.FormBelong ?? "").Trim().Equals(Belong.ToString().Trim(), StringComparison.OrdinalIgnoreCase))?.ToList();
gridControl1.DataSource = lst;
}
catch (Exception ex)

View File

@ -0,0 +1,578 @@
namespace TsSFCDevice.Client.Launch.Device
{
partial class pageDeviceTreeView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(pageDeviceTreeView));
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
this.baripsEquipmentID = new DevExpress.XtraBars.BarEditItem();
this.ipsEquipmentID = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.barSearch = new DevExpress.XtraBars.BarButtonItem();
this.barInsert = new DevExpress.XtraBars.BarButtonItem();
this.barEdit = new DevExpress.XtraBars.BarButtonItem();
this.barEditStatus = new DevExpress.XtraBars.BarButtonItem();
this.barRefresh = new DevExpress.XtraBars.BarButtonItem();
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::TsSFCDevice.Client.Launch.frmWaiting), true, true);
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
this.treeList1 = new DevExpress.XtraTreeList.TreeList();
this.gcAutoID = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcEquipmentName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcEquipmentID = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcSpecification = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcManufacturer = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcSerialNumber = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcUsingDate = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcTotalcapacity = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcWeight = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcEquipmentCategory = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcEquipmentOriginalvalue = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcEquipmentStatus = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcWarrantyPeriod = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcInstallationLocation = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcOwningUnit = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcOperatingParameters = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.gcRemarks = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.UsingDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
this.layoutControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
this.SuspendLayout();
//
// ribbon
//
this.ribbon.ExpandCollapseItem.Id = 0;
this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.ribbon.ExpandCollapseItem,
this.ribbon.SearchEditItem,
this.baripsEquipmentID,
this.barSearch,
this.barInsert,
this.barEdit,
this.barEditStatus,
this.barRefresh});
this.ribbon.Location = new System.Drawing.Point(0, 0);
this.ribbon.Margin = new System.Windows.Forms.Padding(4);
this.ribbon.MaxItemId = 8;
this.ribbon.Name = "ribbon";
this.ribbon.OptionsMenuMinWidth = 424;
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
this.ribbonPage1});
this.ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.ipsEquipmentID});
this.ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
this.ribbon.ShowQatLocationSelector = false;
this.ribbon.ShowToolbarCustomizeItem = false;
this.ribbon.Size = new System.Drawing.Size(1331, 133);
this.ribbon.Toolbar.ShowCustomizeItem = false;
this.ribbon.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
//
// baripsEquipmentID
//
this.baripsEquipmentID.Caption = "设备编号:";
this.baripsEquipmentID.Edit = this.ipsEquipmentID;
this.baripsEquipmentID.EditHeight = 30;
this.baripsEquipmentID.EditWidth = 180;
this.baripsEquipmentID.Id = 1;
this.baripsEquipmentID.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemAppearance.Disabled.Options.UseFont = true;
this.baripsEquipmentID.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemAppearance.Hovered.Options.UseFont = true;
this.baripsEquipmentID.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemAppearance.Normal.Options.UseFont = true;
this.baripsEquipmentID.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemAppearance.Pressed.Options.UseFont = true;
this.baripsEquipmentID.ItemInMenuAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemInMenuAppearance.Disabled.Options.UseFont = true;
this.baripsEquipmentID.ItemInMenuAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemInMenuAppearance.Hovered.Options.UseFont = true;
this.baripsEquipmentID.ItemInMenuAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemInMenuAppearance.Normal.Options.UseFont = true;
this.baripsEquipmentID.ItemInMenuAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
this.baripsEquipmentID.ItemInMenuAppearance.Pressed.Options.UseFont = true;
this.baripsEquipmentID.Name = "baripsEquipmentID";
//
// ipsEquipmentID
//
this.ipsEquipmentID.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
this.ipsEquipmentID.Appearance.Options.UseFont = true;
this.ipsEquipmentID.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
this.ipsEquipmentID.AppearanceDisabled.Options.UseFont = true;
this.ipsEquipmentID.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
this.ipsEquipmentID.AppearanceFocused.Options.UseFont = true;
this.ipsEquipmentID.AppearanceReadOnly.Options.UseTextOptions = true;
this.ipsEquipmentID.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.ipsEquipmentID.AutoHeight = false;
serializableAppearanceObject1.Font = new System.Drawing.Font("Tahoma", 12F);
serializableAppearanceObject1.Options.UseFont = true;
serializableAppearanceObject2.Font = new System.Drawing.Font("Tahoma", 12F);
serializableAppearanceObject2.Options.UseFont = true;
serializableAppearanceObject3.Font = new System.Drawing.Font("Tahoma", 2F);
serializableAppearanceObject3.Options.UseFont = true;
serializableAppearanceObject4.Font = new System.Drawing.Font("Tahoma", 12F);
serializableAppearanceObject4.Options.UseFont = true;
this.ipsEquipmentID.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Clear, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
this.ipsEquipmentID.MaxLength = 20;
this.ipsEquipmentID.Name = "ipsEquipmentID";
this.ipsEquipmentID.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.ipsEquipmentID_ButtonClick);
//
// barSearch
//
this.barSearch.Caption = "查询";
this.barSearch.Id = 2;
this.barSearch.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barSearch.ImageOptions.SvgImage")));
this.barSearch.Name = "barSearch";
this.barSearch.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSearch_ItemClick);
//
// barInsert
//
this.barInsert.Caption = "新增";
this.barInsert.Id = 3;
this.barInsert.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barInsert.ImageOptions.Image")));
this.barInsert.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barInsert.ImageOptions.LargeImage")));
this.barInsert.Name = "barInsert";
this.barInsert.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barInsert_ItemClick);
//
// barEdit
//
this.barEdit.Caption = "修改";
this.barEdit.Enabled = false;
this.barEdit.Id = 4;
this.barEdit.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barEdit.ImageOptions.Image")));
this.barEdit.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barEdit.ImageOptions.LargeImage")));
this.barEdit.Name = "barEdit";
this.barEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barEdit_ItemClick);
//
// barEditStatus
//
this.barEditStatus.Caption = "修改状态";
this.barEditStatus.Enabled = false;
this.barEditStatus.Id = 5;
this.barEditStatus.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barEditStatus.ImageOptions.Image")));
this.barEditStatus.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barEditStatus.ImageOptions.LargeImage")));
this.barEditStatus.Name = "barEditStatus";
this.barEditStatus.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barEditStatus_ItemClick);
//
// barRefresh
//
this.barRefresh.Caption = "刷新";
this.barRefresh.Id = 7;
this.barRefresh.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barRefresh.ImageOptions.Image")));
this.barRefresh.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barRefresh.ImageOptions.LargeImage")));
this.barRefresh.Name = "barRefresh";
this.barRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barRefresh_ItemClick);
//
// ribbonPage1
//
this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
this.ribbonPageGroup1,
this.ribbonPageGroup2});
this.ribbonPage1.Name = "ribbonPage1";
this.ribbonPage1.Text = "ribbonPage1";
//
// ribbonPageGroup1
//
this.ribbonPageGroup1.ItemLinks.Add(this.baripsEquipmentID);
this.ribbonPageGroup1.ItemsLayout = DevExpress.XtraBars.Ribbon.RibbonPageGroupItemsLayout.OneRow;
this.ribbonPageGroup1.Name = "ribbonPageGroup1";
this.ribbonPageGroup1.Text = "查询";
//
// ribbonPageGroup2
//
this.ribbonPageGroup2.ItemLinks.Add(this.barSearch);
this.ribbonPageGroup2.ItemLinks.Add(this.barRefresh);
this.ribbonPageGroup2.ItemLinks.Add(this.barInsert);
this.ribbonPageGroup2.ItemLinks.Add(this.barEdit);
this.ribbonPageGroup2.ItemLinks.Add(this.barEditStatus);
this.ribbonPageGroup2.Name = "ribbonPageGroup2";
this.ribbonPageGroup2.Text = "操作";
//
// splashScreenManager1
//
this.splashScreenManager1.ClosingDelay = 500;
//
// layoutControl1
//
this.layoutControl1.Controls.Add(this.treeList1);
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl1.Location = new System.Drawing.Point(0, 133);
this.layoutControl1.Name = "layoutControl1";
this.layoutControl1.Root = this.Root;
this.layoutControl1.Size = new System.Drawing.Size(1331, 634);
this.layoutControl1.TabIndex = 5;
this.layoutControl1.Text = "layoutControl1";
//
// treeList1
//
this.treeList1.Appearance.Caption.Font = new System.Drawing.Font("Tahoma", 12F);
this.treeList1.Appearance.Caption.Options.UseFont = true;
this.treeList1.Appearance.FocusedRow.Font = new System.Drawing.Font("Tahoma", 12F);
this.treeList1.Appearance.FocusedRow.Options.UseFont = true;
this.treeList1.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 12F);
this.treeList1.Appearance.HeaderPanel.Options.UseFont = true;
this.treeList1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 12F);
this.treeList1.Appearance.Row.Options.UseFont = true;
this.treeList1.Appearance.SelectedRow.Font = new System.Drawing.Font("Tahoma", 12F);
this.treeList1.Appearance.SelectedRow.Options.UseFont = true;
this.treeList1.CaptionHeight = 31;
this.treeList1.ColumnPanelRowHeight = 31;
this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
this.gcAutoID,
this.gcEquipmentName,
this.gcEquipmentID,
this.gcSpecification,
this.gcManufacturer,
this.gcSerialNumber,
this.gcUsingDate,
this.gcTotalcapacity,
this.gcWeight,
this.gcEquipmentCategory,
this.gcEquipmentOriginalvalue,
this.gcEquipmentStatus,
this.gcWarrantyPeriod,
this.gcInstallationLocation,
this.gcOwningUnit,
this.gcOperatingParameters,
this.gcRemarks});
this.treeList1.FixedLineWidth = 3;
this.treeList1.Font = new System.Drawing.Font("Tahoma", 12F);
this.treeList1.HorzScrollStep = 4;
this.treeList1.Location = new System.Drawing.Point(12, 12);
this.treeList1.Margin = new System.Windows.Forms.Padding(4);
this.treeList1.MenuManager = this.ribbon;
this.treeList1.MinimumSize = new System.Drawing.Size(3300, 0);
this.treeList1.MinWidth = 26;
this.treeList1.Name = "treeList1";
this.treeList1.OptionsBehavior.AllowIndeterminateCheckState = true;
this.treeList1.OptionsBehavior.AutoSelectAllInEditor = false;
this.treeList1.OptionsBehavior.Editable = false;
this.treeList1.OptionsBehavior.ReadOnly = true;
this.treeList1.OptionsCustomization.AllowBandMoving = false;
this.treeList1.OptionsCustomization.AllowQuickHideColumns = false;
this.treeList1.OptionsCustomization.AllowSort = false;
this.treeList1.OptionsFind.AllowFindPanel = false;
this.treeList1.OptionsSelection.KeepSelectedOnClick = false;
this.treeList1.OptionsView.AutoWidth = false;
this.treeList1.OptionsView.BestFitNodes = DevExpress.XtraTreeList.TreeListBestFitNodes.All;
this.treeList1.RowHeight = 31;
this.treeList1.Size = new System.Drawing.Size(3300, 593);
this.treeList1.TabIndex = 13;
this.treeList1.TreeLevelWidth = 23;
this.treeList1.RowCellClick += new DevExpress.XtraTreeList.RowCellClickEventHandler(this.treeList1_RowCellClick);
//
// gcAutoID
//
this.gcAutoID.Caption = "编号";
this.gcAutoID.FieldName = "AutoID";
this.gcAutoID.Name = "gcAutoID";
//
// gcEquipmentName
//
this.gcEquipmentName.Caption = "设备名称";
this.gcEquipmentName.FieldName = "EquipmentName";
this.gcEquipmentName.Name = "gcEquipmentName";
this.gcEquipmentName.Visible = true;
this.gcEquipmentName.VisibleIndex = 0;
//
// gcEquipmentID
//
this.gcEquipmentID.Caption = "设备编号";
this.gcEquipmentID.FieldName = "EquipmentID";
this.gcEquipmentID.Name = "gcEquipmentID";
this.gcEquipmentID.Visible = true;
this.gcEquipmentID.VisibleIndex = 1;
//
// gcSpecification
//
this.gcSpecification.Caption = "设备型号规格";
this.gcSpecification.FieldName = "Specification";
this.gcSpecification.Name = "gcSpecification";
this.gcSpecification.Visible = true;
this.gcSpecification.VisibleIndex = 2;
//
// gcManufacturer
//
this.gcManufacturer.Caption = "制造厂家";
this.gcManufacturer.FieldName = "Manufacturer";
this.gcManufacturer.Name = "gcManufacturer";
this.gcManufacturer.Visible = true;
this.gcManufacturer.VisibleIndex = 3;
//
// gcSerialNumber
//
this.gcSerialNumber.Caption = "出厂编号";
this.gcSerialNumber.FieldName = "SerialNumber";
this.gcSerialNumber.Name = "gcSerialNumber";
this.gcSerialNumber.Visible = true;
this.gcSerialNumber.VisibleIndex = 4;
//
// gcUsingDate
//
this.gcUsingDate.Caption = "投产年月";
this.gcUsingDate.FieldName = "UsingDate";
this.gcUsingDate.Name = "gcUsingDate";
this.gcUsingDate.Visible = true;
this.gcUsingDate.VisibleIndex = 5;
//
// gcTotalcapacity
//
this.gcTotalcapacity.Caption = "设备总容量(KW)";
this.gcTotalcapacity.FieldName = "Totalcapacity";
this.gcTotalcapacity.Format.FormatString = "#.00";
this.gcTotalcapacity.Format.FormatType = DevExpress.Utils.FormatType.Numeric;
this.gcTotalcapacity.Name = "gcTotalcapacity";
this.gcTotalcapacity.Visible = true;
this.gcTotalcapacity.VisibleIndex = 6;
this.gcTotalcapacity.Width = 130;
//
// gcWeight
//
this.gcWeight.Caption = "设备重量(吨)";
this.gcWeight.FieldName = "Weight";
this.gcWeight.Format.FormatString = "#.00";
this.gcWeight.Format.FormatType = DevExpress.Utils.FormatType.Numeric;
this.gcWeight.Name = "gcWeight";
this.gcWeight.Visible = true;
this.gcWeight.VisibleIndex = 7;
this.gcWeight.Width = 114;
//
// gcEquipmentCategory
//
this.gcEquipmentCategory.Caption = "设备类别";
this.gcEquipmentCategory.FieldName = "EquipmentCategory";
this.gcEquipmentCategory.Name = "gcEquipmentCategory";
this.gcEquipmentCategory.Visible = true;
this.gcEquipmentCategory.VisibleIndex = 8;
//
// gcEquipmentOriginalvalue
//
this.gcEquipmentOriginalvalue.Caption = "设备原值(万元)";
this.gcEquipmentOriginalvalue.FieldName = "EquipmentOriginalvalue";
this.gcEquipmentOriginalvalue.Format.FormatString = "#.00";
this.gcEquipmentOriginalvalue.Format.FormatType = DevExpress.Utils.FormatType.Numeric;
this.gcEquipmentOriginalvalue.Name = "gcEquipmentOriginalvalue";
this.gcEquipmentOriginalvalue.Visible = true;
this.gcEquipmentOriginalvalue.VisibleIndex = 9;
this.gcEquipmentOriginalvalue.Width = 123;
//
// gcEquipmentStatus
//
this.gcEquipmentStatus.Caption = "设备状态";
this.gcEquipmentStatus.FieldName = "EquipmentStatus";
this.gcEquipmentStatus.Name = "gcEquipmentStatus";
this.gcEquipmentStatus.Visible = true;
this.gcEquipmentStatus.VisibleIndex = 10;
//
// gcWarrantyPeriod
//
this.gcWarrantyPeriod.Caption = "保质期";
this.gcWarrantyPeriod.FieldName = "WarrantyPeriod";
this.gcWarrantyPeriod.Name = "gcWarrantyPeriod";
this.gcWarrantyPeriod.Visible = true;
this.gcWarrantyPeriod.VisibleIndex = 11;
//
// gcInstallationLocation
//
this.gcInstallationLocation.Caption = "安装地点";
this.gcInstallationLocation.FieldName = "InstallationLocation";
this.gcInstallationLocation.Name = "gcInstallationLocation";
this.gcInstallationLocation.Visible = true;
this.gcInstallationLocation.VisibleIndex = 12;
//
// gcOwningUnit
//
this.gcOwningUnit.Caption = "所属单元";
this.gcOwningUnit.FieldName = "OwningUnit";
this.gcOwningUnit.Name = "gcOwningUnit";
this.gcOwningUnit.Visible = true;
this.gcOwningUnit.VisibleIndex = 13;
//
// gcOperatingParameters
//
this.gcOperatingParameters.Caption = "运行参数";
this.gcOperatingParameters.FieldName = "OperatingParameters";
this.gcOperatingParameters.Name = "gcOperatingParameters";
this.gcOperatingParameters.Visible = true;
this.gcOperatingParameters.VisibleIndex = 14;
//
// gcRemarks
//
this.gcRemarks.Caption = "运行参数";
this.gcRemarks.FieldName = "Remarks";
this.gcRemarks.Name = "gcRemarks";
this.gcRemarks.Visible = true;
this.gcRemarks.VisibleIndex = 15;
//
// Root
//
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.Root.GroupBordersVisible = false;
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem1});
this.Root.Name = "Root";
this.Root.Size = new System.Drawing.Size(3324, 617);
this.Root.TextVisible = false;
//
// layoutControlItem1
//
this.layoutControlItem1.Control = this.treeList1;
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
this.layoutControlItem1.Name = "layoutControlItem1";
this.layoutControlItem1.Size = new System.Drawing.Size(3304, 597);
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem1.TextVisible = false;
//
// UsingDate
//
this.UsingDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
this.UsingDate.AppearanceCell.Options.UseFont = true;
this.UsingDate.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
this.UsingDate.AppearanceHeader.Options.UseFont = true;
this.UsingDate.Caption = "投产年月";
this.UsingDate.FieldName = "UsingDate";
this.UsingDate.Name = "UsingDate";
this.UsingDate.OptionsColumn.AllowEdit = false;
this.UsingDate.Visible = true;
this.UsingDate.VisibleIndex = 5;
this.UsingDate.Width = 80;
//
// gridColumn1
//
this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
this.gridColumn1.AppearanceCell.Options.UseFont = true;
this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
this.gridColumn1.AppearanceHeader.Options.UseFont = true;
this.gridColumn1.Caption = "投产年月";
this.gridColumn1.FieldName = "UsingDate";
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.OptionsColumn.AllowEdit = false;
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 5;
this.gridColumn1.Width = 80;
//
// gridColumn2
//
this.gridColumn2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
this.gridColumn2.AppearanceCell.Options.UseFont = true;
this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
this.gridColumn2.AppearanceHeader.Options.UseFont = true;
this.gridColumn2.Caption = "投产年月";
this.gridColumn2.FieldName = "UsingDate";
this.gridColumn2.Name = "gridColumn2";
this.gridColumn2.OptionsColumn.AllowEdit = false;
this.gridColumn2.Visible = true;
this.gridColumn2.VisibleIndex = 5;
this.gridColumn2.Width = 80;
//
// pageDeviceTreeView
//
this.Appearance.Options.UseFont = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1331, 767);
this.Controls.Add(this.layoutControl1);
this.Controls.Add(this.ribbon);
this.Font = new System.Drawing.Font("Tahoma", 12F);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "pageDeviceTreeView";
this.Ribbon = this.ribbon;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "设备台账";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.pageDeviceTreeView_Load);
((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
this.layoutControl1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraBars.Ribbon.RibbonControl ribbon;
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
private DevExpress.XtraBars.BarEditItem baripsEquipmentID;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit ipsEquipmentID;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
private DevExpress.XtraBars.BarButtonItem barSearch;
private DevExpress.XtraBars.BarButtonItem barInsert;
private DevExpress.XtraBars.BarButtonItem barEdit;
private DevExpress.XtraBars.BarButtonItem barEditStatus;
private DevExpress.XtraBars.BarButtonItem barRefresh;
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1;
private DevExpress.XtraLayout.LayoutControl layoutControl1;
private DevExpress.XtraLayout.LayoutControlGroup Root;
private DevExpress.XtraTreeList.TreeList treeList1;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcAutoID;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcEquipmentID;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcEquipmentName;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcSpecification;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcManufacturer;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcSerialNumber;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcUsingDate;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcTotalcapacity;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcWeight;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcEquipmentCategory;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcEquipmentOriginalvalue;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcEquipmentStatus;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcWarrantyPeriod;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcInstallationLocation;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcOwningUnit;
private DevExpress.XtraGrid.Columns.GridColumn UsingDate;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcOperatingParameters;
private DevExpress.XtraTreeList.Columns.TreeListColumn gcRemarks;
}
}

View File

@ -0,0 +1,236 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DeviceRepair.Models.Device;
using TsSFCDevice.Client.Biz.Base.Utils;
using DevExpress.XtraEditors;
using TsSFCDevice.Client.Biz.Impl;
using TsSFCDevice.Client.Launch.FormatProviderExtend;
namespace TsSFCDevice.Client.Launch.Device
{
public partial class pageDeviceTreeView : DevExpress.XtraBars.Ribbon.RibbonForm
{
#region &
/// <summary>
/// 按钮图标
/// </summary>
Dictionary<string, Image> Icons = new Dictionary<string, Image>
{
{ "Lock",DevExpress.Images.ImageResourceCache.Default.GetImageById(DevExpress.Images.DXImages.Cancel,DevExpress.Utils.Design.ImageSize.Size32x32,DevExpress.Utils.Design.ImageType.Colored) },
{ "UnLock",DevExpress.Images.ImageResourceCache.Default.GetImageById(DevExpress.Images.DXImages.Apply,DevExpress.Utils.Design.ImageSize.Size32x32,DevExpress.Utils.Design.ImageType.Colored) },
};
public IList<DeviceInformationInfoTree> Datas { get; set; }
private DeviceInformationInfoTree m_CurrentModel;
private string parEquipmentID { get { return baripsEquipmentID.EditValue + ""; } }
#endregion
#region
public pageDeviceTreeView()
{
InitializeComponent();
}
#endregion
#region
/// <summary>
/// 窗体加载
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void pageDeviceTreeView_Load(object sender, EventArgs e)
{
ribbon.AllowCustomization = false;
ribbon.AllowMinimizeRibbon = false;
// 关闭列头右键菜单
treeList1.OptionsMenu.EnableColumnMenu = false;
treeList1.OptionsBehavior.Editable = false;
treeList1.OptionsBehavior.ReadOnly = true;
treeList1.OptionsSelection.EnableAppearanceFocusedCell = false;
treeList1.OptionsScrollAnnotations.ShowSelectedRows = DevExpress.Utils.DefaultBoolean.False;
#region
gcEquipmentStatus.Format.FormatType = DevExpress.Utils.FormatType.Custom;
gcEquipmentStatus.Format.Format = new StatusFormatter();
gcEquipmentStatus.Format.FormatString = "device";
#endregion
#region
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_KH)
&& !Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_OEM)
)
{
barSearch.Visibility = BarItemVisibility.Never;
barRefresh.Visibility = BarItemVisibility.Never;
}
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_ADD))
{
barInsert.Visibility = BarItemVisibility.Never;
}
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_Edit))
{
barEdit.Visibility = BarItemVisibility.Never;
}
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_Status))
{
barEditStatus.Visibility = BarItemVisibility.Never;
}
#endregion
}
/// <summary>
/// 搜索
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void barSearch_ItemClick(object sender, ItemClickEventArgs e)
{
try
{
InitializeGridData();
}
catch (Exception ex)
{
XtraMessageBoxHelper.Error(ex.Message, "出错");
}
}
/// <summary>
/// 刷新
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void barRefresh_ItemClick(object sender, ItemClickEventArgs e)
{
try
{
Utility.SystemRuntimeInfo.CurrentDeviceCaches = null;
Utility.SystemRuntimeInfo.CurrentUsersCaches = null;
InitializeGridData();
}
catch (Exception ex)
{
XtraMessageBoxHelper.Error(ex.Message, "出错");
}
}
/// <summary>
/// 新增
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void barInsert_ItemClick(object sender, ItemClickEventArgs e)
{
}
/// <summary>
/// 编辑
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void barEdit_ItemClick(object sender, ItemClickEventArgs e)
{
}
/// <summary>
/// 修改状态
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void barEditStatus_ItemClick(object sender, ItemClickEventArgs e)
{
}
/// <summary>
/// 点击清空
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ipsEquipmentID_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
((sender as ButtonEdit)).EditValue = "";
}
#endregion
#region
/// <summary>
/// 数据查询
/// </summary>
public void InitializeGridData()
{
try
{
splashScreenManager1.ShowWaitForm();
m_CurrentModel = null;
List<string> auths = new List<string>();
if (Utility.SystemRuntimeInfo.AuthValidate(Utility.SystemRuntimeInfo.DEVICE_OEM))
auths.Add("OEM");
if (Utility.SystemRuntimeInfo.AuthValidate(Utility.SystemRuntimeInfo.DEVICE_KH))
auths.Add("KH");
DevRepository devDa = new DevRepository();
IList<DeviceInformationInfoTree> Datas = devDa.GetTreeDatas(auths, parEquipmentID);
Datas = Datas.ToList();
treeList1.DataSource = Datas;
treeList1.KeyFieldName = "RouteAutoId";
treeList1.ParentFieldName = "ParentRouteId";
treeList1.ExpandAll();
treeList1.BestFitColumns();
splashScreenManager1.CloseWaitForm();
}
catch (Exception ex)
{
splashScreenManager1.CloseWaitForm();
throw new Exception(ex.Message);
}
}
#endregion
private void treeList1_RowCellClick(object sender, DevExpress.XtraTreeList.RowCellClickEventArgs e)
{
m_CurrentModel = treeList1.GetRow(e.Node.Id) as DeviceInformationInfoTree;
if (m_CurrentModel != null)
{
barEdit.Enabled = m_CurrentModel.EquipmentStatus > 0;
barEditStatus.Enabled = true;
barEditStatus.Caption = m_CurrentModel.EquipmentStatus > 0 ? "禁用" : "启用";
barEditStatus.ImageOptions.Image = m_CurrentModel.EquipmentStatus > 0 ? Icons["Lock"] : Icons["UnLock"];
barEditStatus.ImageOptions.LargeImage = m_CurrentModel.EquipmentStatus > 0 ? Icons["Lock"] : Icons["UnLock"];
}
}
}
}

View File

@ -0,0 +1,393 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="barSearch.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytear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AsMCwwLDAu
MSwwLjEsMC4xbDcuNyw3LjdjMC4zLDAuMywwLjksMC4zLDEuMiwwbDEuMi0xLjJDMzAuMSwyOC4yLDMw
LjEsMjcuNiwyOS43LDI3LjN6IE00LDEzICAgYzAtNSw0LTksOS05czksNCw5LDlzLTQsOS05LDlTNCwx
OCw0LDEzeiIgY2xhc3M9IkJsYWNrIiAvPg0KICA8L2c+DQo8L3N2Zz4L
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="barInsert.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACN0RVh0VGl0
bGUAQWRkO0ZpbGU7QWRkRmlsZTtCYXJzO1JpYmJvbjsV3KoKAAADJElEQVQ4T02TaUhUURiGr2tqFkUF
/fFHOLbaRgtTFFqhWaE1KhFlppHiMla2KIrlWi5NTo6OuYJaQaWSUhnZItnmaFoUgaH5ozQxLXNWvTPj
23fOJHTguR/33Ps+9zvn3ivQsCuo6nx+paoTjIIqDfIrNSgg8io6iQ7klmuQW/YWl8s6kFP6so0y9gAE
Bhv2+RUaTNMZhw42pjnWGaw2sopfsZTD/wKHS+Vvecg0aYGRMJhs6I1mjs5ogZYQLVakK9tZyvF/gSOz
MoHeZAvYQmYuM5LINEXCSTNEswW5at6BU1a9v8Bgwyld+YK3qzOK0BlEEokY/j2E5s5rUD44AroRhVSb
NYVofqZhAheL1SBk3PHjAudURRtf58S/p3/+psGlxv141FOM72MfYbboeG3pViHzdiDirm6RUc4+7eYu
LpiVnPeUC/7ozfgxNoicu0HoG+6AaP0NdVMqzpUeRMm9c9BOfUHv0HOk1OzQRmZu9KKsHRO4JmY/hoV2
WEvt321X4GFXCQziN4wYXiOxOAS9A2M4rQrB1z/1GJhoQuObHMiLtlZQ1pEJ3OTpLVwwoZvEhZr96B1p
huKOHCeVwUgg2L7IqcYXypB9KxxP+pMQp5QOU3YWE8yOTbtP6ySBfhIJqm14N5KJOMUBfOr7iXGSjuum
eGUjJj8INz774ET+JpGyLkzgHp3SBLPZinGtiVregyd9ciRV+yMqLxBRuYEYnTAi6nIgThBnK/2g6tiA
sIx1rAMumHs8uYnesRWj40aUNmag+GEoqj5uhrpnDY5n7+VPjszci9IP3lC/90bq7fU4cGZlLWWdueDY
2UZMkUCrFzEw2I+ILCmuv/SFqns5EtS+OHoxAPISHxR1L0VO6zKEJK0ySGUeaynrwARuh2Lr2sNO1+Pw
qXooKtpRVFuH0PPrkFi9GlmtEhR2eVL1RHyZF2SJ3lZpsEcY5Zz3yZeyvGDPJMQ8Yj6xgFi8TLrQZ2fE
koaAGMlYQJwX/GMkv3zDlzSs2L5oC113Jex2x0gE/kPMsDtWIvBJ2wfC2mOb5E7MJeb8O2fzdn7RnoJf
tKfwF7guZQwBlVFoAAAAAElFTkSuQmCC
</value>
</data>
<data name="barInsert.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACN0RVh0VGl0
bGUAQWRkO0ZpbGU7QWRkRmlsZTtCYXJzO1JpYmJvbjsV3KoKAAAILklEQVRYR4WXaVBUVxqGmySzZJbM
TGYr50fKEZxEU9boWE4S42gSIxqNE41VWsaJKyASjcsAARQFBBQQWVQ0UTSJoilwonGJG7gjSixLnUlc
cAVZuukNuummu4F33u/0bdJtY/yqnjr3IpznPefec85VB6AbvwrReII8+Qie6gH5ufzdD1aAM+CGVfjZ
uYqCz8+BLQqEbZUo3OZt84m3PYv8rWeRV3wWa9muLT6jSMn9Oo1dSBAJHpJWUK5Lyz+qSyX+FeAMuGGJ
9HHlcnlgd7hgbXFAb2zFvTozw1aiorIGCav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n1hkTqx8Wu3AbH5ezV5CFn+GeQkl2LqrHFEpEyn6G5YfoKgiDPlnB2F91Uvk77weiJXl
oVi2PxRT0/piVFTYqd/0eroXNY/eCf1K9uofQvZz2UyefWNGn5UTlvRzxmx8AR+VhSG1vI8ivjQUEYWh
GPNB3/Zh7z0nh9Fvtb/p+Sx4HL4at+AvuuvGTXIpo5Aj9pmB4b2Gjpjee8ubc0KvjZobytGGYuSsPteG
Teu95cXX/zCMvyOHUPfIX5/9ZzasnkSPwlfh0X11o6LD5FJGIR3K83yayLOVD4/fkd8TGbH8TP6t+/+L
w2f21o2Y0ZuXrJ5Ej+IR5Xsk0rlMrYj8kXBKrOFXOt3/AbGCGaaY1ZGOAAAAAElFTkSuQmCC
</value>
</data>
<data name="barEdit.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACB0RVh0VGl0
bGUARWRpdDtCYXJzO1JpYmJvbjtTdGFuZGFyZDswE8PbAAACtUlEQVQ4T2WSW0hUQRjHT97Xy1oIJilt
og9GQgQVUQ+hBKWGIvnik/ViglCEBJVhpZTZFhEahuYFV1PUtvJSGaKihqVBpcZulkFZ2Orqqnt293j2
8u+bcXe1GvjNDHPm9//OmTMCAIGab0OHfqCp+wsau6fW6JqCpvMzp4HRwdCjpn18kPYHMI+77gB/tnFj
czGoc1G3PrpQq9UxQUGP/woIqH+qpymwKjshubGtEpIDVskOq80Oi82B6vZJJgQzj7u8o4AarZ5X5ZJX
dHDJQrJImGle2TLBhJB/AwKr2ib4q65LDohWEgmz1YEVYpnmFY0fmRA6fOug0HtlnzcgiCWzb9wocVEk
0WLHEmG2yhh+94MJkUQAsckToCjXfICTAswWmarZvRLDJMpUXcaCyYyX9SWgyqg7vfMueaHegDv173mA
VxRJNMtriBIMRhNGtWX4+iyL9n3D5KMM3DweU+4JCFY/HIPD6eLCIlVcpNG4TOOKhFnDAkbarmNKm8ll
afoMBgsToT4S5T5JOtUblW9hd7iwsLLKmV9io4Rfs/MYbC6GrjWdy+JkHvrOJ6BPfRi5ieG1noDQaxUj
kO0uzJE4tyRRgA3ff/5Gf2MRPjWlcdk0egq9Z+PRU3IIJxPCNORFeQOK7r2mAKf7N8owzBnRr7mM8bqj
XDb0Z6MnPxadhfuRHRfSTM42ws8TEFRQ+mrg0u0hXCTua8ZQ8aAFQ+pjXJ7pysSLPBW0BXuQpVK00v4Y
JmdvpT/pDvAhFISSCCd2JBzI0XZUlcIy8wbPc1Voyd+FjOjAx/RMRfhNN6cIJyL81wI2wm4Yte27k8/N
jo/0oKHsAoqT4pEaFfiE1mMJf111sqCrThLSN/v+H9B7la4nVdkSkwxl5F6jQhnXGRGsyKG1aCanKX0F
RmqYj5AS5iP8AQSCmu1rvrSCAAAAAElFTkSuQmCC
</value>
</data>
<data name="barEdit.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACB0RVh0VGl0
bGUARWRpdDtCYXJzO1JpYmJvbjtTdGFuZGFyZDswE8PbAAAIxUlEQVRYR5WXCVRU1xnHH9GYBDUuBFNj
QsziEoyeY09iT5vTY2OOTY1pU02iWaQqVbMIKgpFZYkIKovgvkbABdxBUZHgggKiuERJFUFGEIZhFmYF
hplhAP/9vjszOKCh7Tvn5xtmeb//d+/37rtKAKT/4fAgniJ6OOn5BJ7uBv6cfy8Odrp4LEBSylVpXco1
cU4k6GB5j/gdhVFb029iy34i/WcHaQ4273vEpr3XBRuYPcw1JKUWX6BrcAi+VvcB4ndelu6Uqwgl/ynk
MZsurCy4JkfhtSrcrVCjWmGARtsIY4MFFqsdDx8C7fRPJ9ofsS61mCXPEGIUug0QvblA+uVuHb9kec/I
pLMrfyqoFJK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EfD+dtnBjh0t73j4SajSNUKuUCI7
KRxX6KGiuXcTspihkB+agsNTvZEy2RvpkQGoqKyBXKWHnHuFe4ibl6ZxRqAIMJgQAUpDB0sRo/pI4YR7
ALES+gel5s+l7de8f+2nrVi6aKDw2ExsTT6F5TNnwFgrg7xgLwq2LsXewE+xecpYxPp/iV1puYhKPIYZ
AcnwW5AspF8HOPh8zqZCuraX0+FRGjRICvPtI3AF4IM3JJyQl8oXCU7Mw8b376i3352UGLBoJZTXMnBh
YzB2+E1A/IdjMHv04HT6fBwxghhK+BCvuJ25+QYSYg34JdBLYpa/1VvgHoBHgUNwSu4HDsM/4tXL53cT
ZpQvDN+NSX/+DJNG+1oXvfNq9qTXvWbwZwQL+OnG3+8KX4enV2zBSr4dIDFPCuA6OIgL/pFozuFjJsJr
sG/F8wN9Ynv28nyX3nuZoBtZ/I+HQwvBr7FsZG/pSYgAv4bzx2KrRgwieDj5gcKjwpV1iJeO8JT+fzyl
/wBqkiSvivDUAgAAAABJRU5ErkJggg==
</value>
</data>
<data name="barEditStatus.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACF0RVh0VGl0
bGUAQXBwbHk7T0s7Q2hlY2s7QmFycztSaWJib247ZGPIaAAAA6ZJREFUOE9Nk31Q03Ucx3+iqwzOhE6t
MxsDOcbDhgPtziPoCGXkJIq6FQsn0WSOjRKIpzTmgRMfuKwpA2zLjFUzIPAIXCDIIiYPTWyDxThQntp4
iAeBjP569/3Nuut397r73X0/79fn87n7fqnJlQZq7qGJIt86wvqMC+yYXG2o7ng1p19pCFtQfsvtP6Hn
NGSVBwvJ+WMEj/m/zJTrzxvU1Eo9RblWje5wUhZrW6Y6yFhasw+tVhXsTgPmVrswNFMD09BZqJsFKPgy
tE9U6BdIN5p9eOuRgA4L0pnPZHwaPGwwHcPkchOGlyoxMK/Cnblc2BfPYHRZC9dqCxotBcjXcWeT8/24
JOcxsVznFmx47zS7qc5cAMfCZXT8fgSdLgnMLhm6p+XomVGgZ1aOZrsYv81XoNV2GorPQqzbd3p60c2p
pGw//nFtLOx/lKPlvghtE2LcmnoXJqcEXU4pbk9LUXR1Lw5kMiE5z4ZjsRJltQk4VBSQSTen3v4ooKah
Ox83x9JwY1RIJMloG09BOxGZpg5DWsZG3icyjIw7wZdvww9Dh9E2WII0VaCZCDZSwkL/kXZHAa4PJ0Hd
EoUY2UbkacNgvPcWcqo4KNLkwDW7BMWZRFxuFeHHe+/g9oQSaaXsNSLwot7M8182OtJhsMUhRuqJPqsV
+RcyECv3docnpx/g/FfZUH0TR6YTo95xED9NyJF6KhAhkd7PUq9l+97X9wpgsO6DujERGcWvwjmzhKbO
DoxOLmJg9A4Sc7fDOJKK2qF4fGfno3bgdYg+DqAn2EQlKFjNZY1RuGLZi2uDAhRXx6K4QoaFB2tYWPkb
h5R7cPVnIQyDsdDboqH/9UWU34zBGzksCxF4Ui+Ld4jTz3HxhSUSFb27cM0mQFb5bujqS2Hqv47Uc/5k
vf240v8CPrdEoPpuNI5d4oEveV5JBI8TqCcFct+7J77moqo3AppuLlnnIFJKfBEppaBp34+qPh4qCdpf
dqOkjofED1g2Lx/G0yTrQQvWR8Rv5SVk+s1/qAsigjBoerhkTyGaho9CRybT9Owi8nAU6kOQlOO/Fh63
JYrkGJ0T71OUaVxGSxjh8Vv3HJD5jqSc3Imi2iCou0JxqZuDi2YOTn4fjFRVAF45yhzgPQrTo69zZzvG
JLSAfokbyFg+0cnPFcZJmGaBnAU3Chb4R5jWl0Q7Tnk+xdhC6hh0PZ1zZ//7+VdE70Tb6Xu+meBD8CZs
IjxB8Ph/fceYhPoHAkQRj5PgdPMAAAAASUVORK5CYII=
</value>
</data>
<data name="barEditStatus.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>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e4aqpTB
seo1ITl68M/Uwxxvzd7xJiNNiYN/DwxWz816iYbIrfUSObXL+ZHPwjtG9h99OddH6/n6NB3sODMewWdI
RPb4QTESlJjxChGLHRJNCKY4Xsc5HNZoPTe0/dCVcr9PYKdHKJZK5/9NgHor3pti9zdHuxWaj73jtKUI
NYJJyKsgIklG7+n55dhV8dqwW6HVZ6j4cD7l5E8v/xwbkUN81kvk2VMLWP6yALWId7WNRk6xXvxptdNm
Law/pIMgShp0Zhx2nCYCAj8zkZx/aY5jnbeMgZXH6Btahh/w/2BcuSRnMBfzysYDnmCwEGpqEbwdfFdH
Gs35yNt68egWB19NLNkzBn5KbWw8rIPtp8ch6NQ4bEzXgV+qDjzpnYOvFqwXa7Qa2f99Na0dRXiXIG1n
qHl+IcBryAXeCi+eVovgw8Inlq/NX/Q/G/W5qfM/4i3cR9+wdP+0ng4wGJbuo+st3D+9Yer8SYLerFFz
KPavBK6af/txIcPkvyrgP4Hay0LYQnaEE48kcHUfDoHHfL34+86nnEUPE/9absb/09RC+KpyYraUBTER
g8c8x+84Rh3/P5oQ/wKtHXLtkLLsUQAAAABJRU5ErkJggg==
</value>
</data>
<data name="barRefresh.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACp0RVh0VGl0
bGUAUmVmcmVzaEFsbFBpdm90VGFibGU7UmVmcmVzaDtVcGRhdGU7gLmk/QAAApJJREFUOE9lk21Ik1EU
x9ec0yW9qLlk6VypLUuTILZeiNJJuHTNNDZfculagr3Ym2kvYG1GRlZu9LIyStDQsmJYklh9yyD7oEJB
ZFEGUX2NvtXgdP7X5xlhF37Pueece89z7v0/j2LGmCWhZKIYlWThyzmZ/waCUbUtqx0er6lrd6v5fd0Z
829Y+IhzPppReXwmr7Q+UkhZ5DamlB/J8Vc154YHR4L0dmqYvv0cExY+4s7DOQFpDfEedCYK4BFdsjfL
f3vgBL37HqKep810tMNK5Y0rhYUv4k9OMS1UdmA5CqgZHE2hLKxNr9havzQ8+ukSnb5pI6s7o39Dqb5K
mxqXAQv/SqiaRqcu0KupduK1KBDLoAuFanPNku5gqJLO37NRgWtxf0KyJpXjCRJJ+ZWGwMnOPHowXiOw
etJRQMOIAtEWV9pkwU4DAbNN5+TYXGmBJq9Sf1bO/QvnIh3gLPHMQgm8dTaDOG4dc+STmRRGxyxgYhhx
B2qWi2bC0vk4h+8AheKch3LLIjmfaVKKiwIxkOXHr3FBz5CXHAez2zmON6MDdeaqxHiWsHfw5VUaeBEg
nvcgzggZYyHL6JeA4NbQfrLvWdZndWduy16nTSyuM9pK9mXd8ffW0+vPQUgYLqzNdPE+FBcFNJCltbtI
8GiigW489lDTxS20vSGbjnfY6e6zYzTyoY18XcXEkl/jPfMYHG+6A8hiqTJcZ7k6eR7uuF9Kw2ON9Obr
OXo+0USXHzogXdiywxBcsT7JyHtwPPn/UKg3Vejb2CYxyWvsul0bK/R9+dVpH1muP7Dw19oXuTkPheKY
SPsY0BKaIzGHmc9AJi0DWWHho235YsXtywOVcB4gbp2RC8rARzzyA00PheIvOpAOIaUhiVUAAAAASUVO
RK5CYII=
</value>
</data>
<data name="barRefresh.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACp0RVh0VGl0
bGUAUmVmcmVzaEFsbFBpdm90VGFibGU7UmVmcmVzaDtVcGRhdGU7gLmk/QAABwBJREFUWEe9VmdQVVcQ
NoItdk0IUYGItCAYO0gUMCooYKH33uSBIGKNZSgKKqKYGDWiQwRFI0oLIIpKVYoOoGIDFDVjSZlJ/ogz
+bPZ78y7zwcPLDOZ7Mw3HHa//Xbvuefcff0+wD6Soz9DjaHeA/AhJvH+MxNFnWQmY0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dRC40+iyubH2RlBvB
10t6PdLIBbCGDzFwPqjw+xrEpGawUyiiDPikou9fuLdJ9v+B+v0LVZMvjm9OYQEAAAAASUVORK5CYII=
</value>
</data>
</root>

View File

@ -71,6 +71,8 @@
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
@ -291,6 +293,8 @@
this.OperatingParameters,
this.colVersionCode,
this.colVersionRev,
this.gridColumn1,
this.gridColumn2,
this.Remarks});
this.gridView1.CustomizationFormBounds = new System.Drawing.Rectangle(1635, 636, 252, 286);
this.gridView1.GridControl = this.gridControl1;
@ -542,7 +546,7 @@
this.colVersionCode.AppearanceCell.Options.UseFont = true;
this.colVersionCode.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
this.colVersionCode.AppearanceHeader.Options.UseFont = true;
this.colVersionCode.Caption = "点检表编号";
this.colVersionCode.Caption = "PM的点检表编号";
this.colVersionCode.FieldName = "VersionCode";
this.colVersionCode.Name = "colVersionCode";
this.colVersionCode.OptionsColumn.AllowEdit = false;
@ -556,7 +560,7 @@
this.colVersionRev.AppearanceCell.Options.UseFont = true;
this.colVersionRev.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
this.colVersionRev.AppearanceHeader.Options.UseFont = true;
this.colVersionRev.Caption = "点检表版本";
this.colVersionRev.Caption = "PM的点检表版本";
this.colVersionRev.FieldName = "VersionRev";
this.colVersionRev.Name = "colVersionRev";
this.colVersionRev.Visible = true;
@ -611,6 +615,20 @@
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem1.TextVisible = false;
//
// gridColumn1
//
this.gridColumn1.Caption = "AM的点检表编号";
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 18;
//
// gridColumn2
//
this.gridColumn2.Caption = "AM的点检表版本";
this.gridColumn2.Name = "gridColumn2";
this.gridColumn2.Visible = true;
this.gridColumn2.VisibleIndex = 19;
//
// pageDeviceView
//
this.Appearance.Options.UseFont = true;
@ -679,5 +697,7 @@
private DevExpress.XtraLayout.LayoutControl layoutControl1;
private DevExpress.XtraLayout.LayoutControlGroup Root;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
}
}

View File

@ -33,6 +33,12 @@ namespace TsSFCDevice.Client.Launch
#endregion
/// <summary>
/// 跳过当天保养计划校验
/// </summary>
public readonly static string PLAN_JUMP_CHECK = "BIZ_EQUIP_PM_PLAN_06";
#region PM
/// <summary>
/// PM 保养计划
@ -63,6 +69,7 @@ namespace TsSFCDevice.Client.Launch
/// PM 保养计划删除
/// </summary>
public readonly static string PM_PLAN_DELETE = "BIZ_EQUIP_PM_PLAN_05";
#endregion
#region PM

View File

@ -217,6 +217,12 @@
<Compile Include="CustomField\pageFieldEdit.Designer.cs">
<DependentUpon>pageFieldEdit.cs</DependentUpon>
</Compile>
<Compile Include="Device\pageDeviceTreeView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Device\pageDeviceTreeView.Designer.cs">
<DependentUpon>pageDeviceTreeView.cs</DependentUpon>
</Compile>
<Compile Include="Device\pageDeviceView.cs">
<SubType>Form</SubType>
</Compile>
@ -400,6 +406,12 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="sysConfig\pageJumpCheckView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sysConfig\pageJumpCheckView.Designer.cs">
<DependentUpon>pageJumpCheckView.cs</DependentUpon>
</Compile>
<Compile Include="sysConfig\pageSytemSetting.cs">
<SubType>Form</SubType>
</Compile>
@ -462,6 +474,9 @@
<EmbeddedResource Include="CustomField\pageFieldEdit.resx">
<DependentUpon>pageFieldEdit.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Device\pageDeviceTreeView.resx">
<DependentUpon>pageDeviceTreeView.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Device\pageDeviceView.resx">
<DependentUpon>pageDeviceView.cs</DependentUpon>
</EmbeddedResource>
@ -560,6 +575,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="sysConfig\pageJumpCheckView.resx">
<DependentUpon>pageJumpCheckView.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sysConfig\pageSytemSetting.resx">
<DependentUpon>pageSytemSetting.cs</DependentUpon>
</EmbeddedResource>

View File

@ -73,7 +73,9 @@ namespace TsSFCDevice.Client.Launch
this.barButtonItem17 = new DevExpress.XtraBars.BarButtonItem();
this.btnTagMgr = new DevExpress.XtraBars.BarButtonItem();
this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
this.btn_treeView = new DevExpress.XtraBars.BarButtonItem();
this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
this.btnPlanCheckJump = new DevExpress.XtraBars.BarButtonItem();
this.page_Main = new DevExpress.XtraBars.Ribbon.RibbonPage();
this.pg_Main = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
@ -173,9 +175,11 @@ namespace TsSFCDevice.Client.Launch
this.barButtonItem17,
this.btnTagMgr,
this.barButtonItem7,
this.barButtonItem5});
this.btn_treeView,
this.barButtonItem5,
this.btnPlanCheckJump});
this.ribbonControl.Location = new System.Drawing.Point(0, 0);
this.ribbonControl.MaxItemId = 79;
this.ribbonControl.MaxItemId = 81;
this.ribbonControl.Name = "ribbonControl";
this.ribbonControl.OptionsMenuMinWidth = 385;
this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
@ -201,8 +205,8 @@ namespace TsSFCDevice.Client.Launch
//
this.batBtnRefresh.Caption = "清理缓存";
this.batBtnRefresh.Id = 78;
this.batBtnRefresh.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem8.ImageOptions.Image")));
this.batBtnRefresh.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem8.ImageOptions.LargeImage")));
this.batBtnRefresh.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("batBtnRefresh.ImageOptions.Image")));
this.batBtnRefresh.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("batBtnRefresh.ImageOptions.LargeImage")));
this.batBtnRefresh.Name = "batBtnRefresh";
this.batBtnRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.batBtnRefresh_ItemClick);
//
@ -539,15 +543,31 @@ namespace TsSFCDevice.Client.Launch
this.barButtonItem7.Tag = "BIZ_EQUIP_REPAIRRECORD_01";
this.barButtonItem7.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem7_ItemClick_1);
//
// btn_treeView
//
this.btn_treeView.Caption = "设备总台账树";
this.btn_treeView.Id = 77;
this.btn_treeView.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btn_treeView.ImageOptions.Image")));
this.btn_treeView.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btn_treeView.ImageOptions.LargeImage")));
this.btn_treeView.Name = "btn_treeView";
this.btn_treeView.Tag = "BIZ_EQUIP_DEVICE123";
this.btn_treeView.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
this.btn_treeView.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_treeView_ItemClick);
//
// barButtonItem5
//
this.barButtonItem5.Caption = "设备总台账树";
this.barButtonItem5.Id = 77;
this.barButtonItem5.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.ImageOptions.Image")));
this.barButtonItem5.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.ImageOptions.LargeImage")));
this.barButtonItem5.Caption = "barButtonItem5";
this.barButtonItem5.Id = 79;
this.barButtonItem5.Name = "barButtonItem5";
this.barButtonItem5.Tag = "";
this.barButtonItem5.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
//
// btnPlanCheckJump
//
this.btnPlanCheckJump.Caption = "计划完成校验关闭";
this.btnPlanCheckJump.Id = 80;
this.btnPlanCheckJump.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem8.ImageOptions.Image")));
this.btnPlanCheckJump.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem8.ImageOptions.LargeImage")));
this.btnPlanCheckJump.Name = "btnPlanCheckJump";
this.btnPlanCheckJump.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnPlanCheckJump_ItemClick);
//
// page_Main
//
@ -685,12 +705,13 @@ namespace TsSFCDevice.Client.Launch
// ribbonPageGroup2
//
this.ribbonPageGroup2.ItemLinks.Add(this.btn_Report01);
this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem5);
this.ribbonPageGroup2.ItemLinks.Add(this.btn_treeView);
this.ribbonPageGroup2.Name = "ribbonPageGroup2";
this.ribbonPageGroup2.Text = "设备数据";
//
// ribbonPageGroup11
//
this.ribbonPageGroup11.ItemLinks.Add(this.btnPlanCheckJump);
this.ribbonPageGroup11.ItemLinks.Add(this.btnSystemSetting);
this.ribbonPageGroup11.Name = "ribbonPageGroup11";
this.ribbonPageGroup11.Text = "设置";
@ -831,7 +852,9 @@ namespace TsSFCDevice.Client.Launch
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage7;
private DevExpress.XtraBars.BarButtonItem btnTagMgr;
private DevExpress.XtraBars.BarButtonItem barButtonItem7;
private DevExpress.XtraBars.BarButtonItem barButtonItem5;
private DevExpress.XtraBars.BarButtonItem btn_treeView;
private DevExpress.XtraBars.BarButtonItem batBtnRefresh;
private DevExpress.XtraBars.BarButtonItem barButtonItem5;
private DevExpress.XtraBars.BarButtonItem btnPlanCheckJump;
}
}

View File

@ -1,12 +1,16 @@
using DevExpress.XtraBars;
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraEditors;
using DeviceRepair.Models;
using DeviceRepair.Models.Common;
using DeviceRepair.Models.Enum;
using DeviceRepair.Utils;
using System;
using System.Linq;
using System.Windows.Forms;
using TsSFCDevice.Client.Biz;
using TsSFCDevice.Client.Biz.Base.Utils;
using TsSFCDevice.Client.Biz.Impl;
using TsSFCDevice.Client.Launch.Plan;
using TsSFCDevice.Client.Launch.sysConfig;
@ -24,8 +28,8 @@ namespace TsSFCDevice.Client.Launch
private void frm_Launch_Load(object sender, EventArgs e)
{
//Scheduler.Instance.CallBack += InvokeChangeFormText;
//Scheduler.Instance.Run();
Scheduler.Instance.CallBack += InvokeChangeFormText;
Scheduler.Instance.Run();
this.FormClosing += (ss, ee) =>
{
@ -108,15 +112,6 @@ namespace TsSFCDevice.Client.Launch
case "SchedulerPlanTips":
btn_PlanCount.Caption = Value + "";
break;
case "CurrentYearPlanSchedule":
if (Value != null)
{
if (Value is CurrentYearPlanSchedule)
barLb_Schedule.Caption = ((CurrentYearPlanSchedule)Value).ToString();
else
barLb_Schedule.Caption = Value + "";
}
break;
default:
break;
}
@ -940,5 +935,54 @@ namespace TsSFCDevice.Client.Launch
Utility.SystemRuntimeInfo.CurrentDeviceCaches = null;
Utility.SystemRuntimeInfo.CurrentDevRootCaches = null;
}
/// <summary>
/// 树形视图
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btn_treeView_ItemClick(object sender, ItemClickEventArgs e)
{
try
{
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_KH)
&& !Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PM_Device_OEM)
)
{
throw new Exception($"当前账号缺少此操作的权限");
}
using (Device.pageDeviceTreeView view = new Device.pageDeviceTreeView())
{
view.ShowDialog(this);
}
}
catch (Exception ex)
{
XtraMessageBoxHelper.Error(ex.Message);
}
}
/// <summary>
/// 跳过当前日期生成设备校验计划
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnPlanCheckJump_ItemClick(object sender, ItemClickEventArgs e)
{
try
{
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PLAN_JUMP_CHECK))
{
throw new Exception($"当前账号缺少此操作的权限");
}
}
catch (Exception ex)
{
XtraMessageBoxHelper.Error(ex.Message);
}
}
}
}

View File

@ -201,7 +201,7 @@
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="barButtonItem8.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="batBtnRefresh.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACd0RVh0VGl0
bGUAUmVmcmVzaDtSZXBlYXQ7QmFycztSaWJib247UmVsb2FkzU326QAAAwFJREFUOE+lk3sslWEcxx/k
@ -220,7 +220,7 @@
yEckJ2/AQITNhixOCaOGIa+pg1Hf0Mi9X2ezX/TfAfQdAvawuvfdXuIAAAAASUVORK5CYII=
</value>
</data>
<data name="barButtonItem8.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="batBtnRefresh.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACd0RVh0VGl0
bGUAUmVmcmVzaDtSZXBlYXQ7QmFycztSaWJib247UmVsb2FkzU326QAACWhJREFUWEfFlwlUk1cWgB/W
@ -1120,7 +1120,7 @@
T8b7/XCa++SfYzx6ji0+TvBM8H7ggpfB6zUUxspgn/viAVPMYcP/AGBDyOsdZH9HAAAAAElFTkSuQmCC
</value>
</data>
<data name="barButtonItem5.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="btn_treeView.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAUdEVYdFRpdGxlAFRyZWVWaWV3O1RyZWU7X0Ij1wAA
@ -1133,7 +1133,7 @@
FGQA6bHgFVJ83jO46L9HUOF/t4A80mMBGYNsITkWkDEQEIiF/wwAEzc5In1OcF0AAAAASUVORK5CYII=
</value>
</data>
<data name="barButtonItem5.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="btn_treeView.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAUdEVYdFRpdGxlAFRyZWVWaWV3O1RyZWU7X0Ij1wAA
@ -1165,9 +1165,78 @@
q6y9RcvvZHEJIj7KGs2/P84ZFqX5IpcAAAAASUVORK5CYII=
</value>
</data>
<metadata name="pmLogUser.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>205, 17</value>
</metadata>
<data name="barButtonItem8.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAATdEVYdFRpdGxlAEhpc3Rvcnk7SXRlbTuQPSVvAAADmklEQVQ4T2WSe0yTZxSHX5i3ZcmYcVu2
/bHMuSk6mDNR2OayRTJQLgGHFkRRWDKjDpjgwJA4YcCEdpRyESm36KwhgO1sK1rl0tLSGy1QWpFysdIG
QltoOxw355blt/dr3B/LTvLk5Ms5vyd58x2S1mAmJ+qHyXG+iaTWDRFagUkV6vjkKkM9i9c/wKo0PDvM
619O5OpG4znKEjp/gRIQW6YmMZdUhAkWDMw/ZYIBsReEbyZV6aX5wjE0amcgtXqhd69A51rBfdsCiqQT
iCvtc0ac/zWU2d9frCTkaO0QjtQYCuN/uheczh/y3DC6oHEuo9uxiFLZJI7X6pHAUSG7xQLRmBeCQRcS
y7V/f5bdsoeRkORqI7hddrB4BmebeR6yx7/jqtGNQ1wNTlerwBZoUX5DhzM1KkT+KMflvmlUKOzYd7Hb
RQXryOFKA+SOJVT3TkNsXUClchZJFVp0GexYWvnDj9Xmhui+BezrOuwvkUMwPIdTV034NFfMJ19x9bgz
8QT1hjlU97kQx1bDOO7G8uqz/zDnXYJAMojvrqiRKbCg+M4kwvM6PCSerUGrxQeu0okC2QyOXDGBJ3kI
l2cRbsqk3envUzNeCO+Z0SAaQExZH/i6WezOFq+SLwsV+PxCFz7Ok2HXWSlCM8TYcUqEgmv9UOosSIhN
gWRvCBShb0H2zkYIOx8gorgXjf1u7MoQ/sX8vhcjC3t8NaoZxHDUaO96CJXRhlsyPeIOnURdsxAK7Qg6
VWbc7h5CG51H02eW9zgQ8k2LhxFs+CL/tiLvphXp9YMoaR1Gj/oBohLS0HT9FsZtTjxyzGP0kQuDI9P+
+dfNZmT+YkJwagM9BELWhp25lpXwsxqFHTZE/NCJDu1jyLq1mJ71wuNbgtu7CMesD7J+O6I5GhTdncK+
8xJsjivKYASBL73+7ivhOeKxk00mnG0ZQVSpBhVSKyxTPqw+/RMW+2/gdUwgqkyLnPZxpF/W4X1WtZxm
g8gnuXcZyZot0bnhu7NE3pQqHb5vt+Io34QDbD0iLmlwgKOn38PIaR0Fi6PA9mONvld3HvyQyZE92RJG
EEBZ90ZY8vYdaY3yvefESKsz4FybFflimz94gp50WEYrtiSW9276IDqE2ffnPvpWSHaebv9XsoYStDn2
YubW5BrNtmNNC8Gpzdiawn/yHr3ttyPzsuh8I2Uts78tqZa2/xcjWk95mbKJ8trzHkTZQAmkPC9C/gFM
gks/ML6Z5gAAAABJRU5ErkJggg==
</value>
</data>
<data name="barButtonItem8.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAATdEVYdFRpdGxlAEhpc3Rvcnk7SXRlbTuQPSVvAAAKM0lEQVRYR8VWeVSTVxZ3tJ3pdJm2drPT
TttT2xm1drrJmXZoC9apC3XXilq1VAWhuAEiVkQRAa0iICI7QZQdgoBAgATZVwkQFUhIIOxbCCGAAW1P
f3PfB4lgmemZvybn/M573/vy3d/v3nfvfW8GgP8rZri6uv5PoN/vJmHmQzC8m+7b6TDt4sPQG93szv/T
rkuFGy2DSmOtgsrEVkGlbTTCMrCkbVdgcfXOS8WxFhfyNq5x4j1N/+cETWdvMqZdnAxmZMPx6NnfXSry
2R1cpjvOv4OQ4g4k3tIgTTYMoXIU1+q0uFqlwoXcVjjF1OJbv0LdVi/hhaW2vs//lhDDxPx83vEpL8a9
nrndJ9f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SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi4z

View File

@ -150,26 +150,23 @@ namespace TsSFCDevice.Client.Launch
int handle = item.RowHandle;
View_CurrentMonthPlanTips dmp = (View_CurrentMonthPlanTips)tileView1.GetRow(handle);
/* 保养类型 */
EnumDeviceBelong Belong = dmp.MaintenanceType.Equals("Daily", StringComparison.OrdinalIgnoreCase) ? EnumDeviceBelong.AM : EnumDeviceBelong.PM;
if (dmp != null)
{
if (dmp.FormAutoID == 0)
{
XtraMessageBoxHelper.Error($"当前设备未绑定点检表表单!");
return;
}
this.Hide();
//获取设备信息
DeviceInformationInfo entity = Utility.SystemRuntimeInfo.CurrentDeviceCaches.FirstOrDefault(x => x.EquipmentID.Equals(dmp.EquipmentID, StringComparison.CurrentCultureIgnoreCase));
if (entity == null || entity.MaintenanceFormVersion == 0)
if (entity == null || (Belong == EnumDeviceBelong.AM ? entity.MaintenanceAMFormVersion : entity.MaintenanceFormVersion) == 0)
{
XtraMessageBox.Show("该设备未绑定点检表,请先绑定点检表。", "出错", MessageBoxButtons.OK, MessageBoxIcon.Error);
XtraMessageBoxHelper.Error("该设备未绑定点检表,请先绑定点检表。");
this.Show();
return;
}
page_DriveMaintenance view = new page_DriveMaintenance(entity, (EnumDeviceBelong)Enum.Parse(typeof(EnumDeviceBelong), dmp.Belong), dmp.AutoID);
page_DriveMaintenance view = new page_DriveMaintenance(entity, Belong, dmp.AutoID);
if (dmp.MaintenanceType == EnumMaintenanceType.Daily.ToString())
{
view.DaylyMaintenanceDate = DateTime.Today;
@ -189,13 +186,13 @@ namespace TsSFCDevice.Client.Launch
}
else
{
XtraMessageBox.Show("未能获取到设备信息,请重试。", "出错", MessageBoxButtons.OK, MessageBoxIcon.Error);
XtraMessageBoxHelper.Error("未能获取到设备信息,请重试。");
this.Show();
}
}
catch (Exception ex)
{
XtraMessageBox.Show(ex.Message, "出错", MessageBoxButtons.OK, MessageBoxIcon.Error);
XtraMessageBoxHelper.Error(ex.Message);
this.Show();
}
}

View File

@ -0,0 +1,103 @@
namespace TsSFCDevice.Client.Launch.sysConfig
{
partial class pageJumpCheckView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
this.SuspendLayout();
//
// ribbon
//
this.ribbon.AllowMinimizeRibbon = false;
this.ribbon.ExpandCollapseItem.Id = 0;
this.ribbon.Location = new System.Drawing.Point(0, 0);
this.ribbon.Margin = new System.Windows.Forms.Padding(4);
this.ribbon.MaxItemId = 4;
this.ribbon.Name = "ribbon";
this.ribbon.OptionsMenuMinWidth = 424;
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
this.ribbonPage1});
this.ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowMoreCommandsButton = DevExpress.Utils.DefaultBoolean.False;
this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
this.ribbon.ShowQatLocationSelector = false;
this.ribbon.ShowToolbarCustomizeItem = false;
this.ribbon.Size = new System.Drawing.Size(1331, 134);
this.ribbon.StatusBar = this.ribbonStatusBar;
this.ribbon.Toolbar.ShowCustomizeItem = false;
//
// ribbonPage1
//
this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
this.ribbonPageGroup1});
this.ribbonPage1.Name = "ribbonPage1";
this.ribbonPage1.Text = "ribbonPage1";
//
// ribbonPageGroup1
//
this.ribbonPageGroup1.Name = "ribbonPageGroup1";
this.ribbonPageGroup1.Text = "ribbonPageGroup1";
//
// ribbonStatusBar
//
this.ribbonStatusBar.Location = new System.Drawing.Point(0, 662);
this.ribbonStatusBar.Name = "ribbonStatusBar";
this.ribbonStatusBar.Ribbon = this.ribbon;
this.ribbonStatusBar.Size = new System.Drawing.Size(1489, 24);
//
// pageJumpCheckView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1489, 686);
this.Controls.Add(this.ribbonStatusBar);
this.Controls.Add(this.ribbon);
this.Name = "pageJumpCheckView";
this.Ribbon = this.ribbon;
this.StatusBar = this.ribbonStatusBar;
this.Text = "pageJumpCheckView";
((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraBars.Ribbon.RibbonControl ribbon;
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
}
}

View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraBars;
namespace TsSFCDevice.Client.Launch.sysConfig
{
public partial class pageJumpCheckView : DevExpress.XtraBars.Ribbon.RibbonForm
{
public pageJumpCheckView()
{
InitializeComponent();
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -216,6 +216,36 @@ namespace TsSFCDeviceSvc
}
}
[WebMethod(Description = "判断当前开工设备是否存在未完成的保养计划")]
[SoapHeader("auth")]
public APIResponseData Get_EquipmentPlanIsComplete(string inParams)
{
HttpAuthtication();
Dictionary<string, string> Parameters = GetParameters(inParams);
try
{
#region APP版本是否是最新版本
AppVersionValid(Parameters);
#endregion
if (!Parameters.ContainsKey("EquipmentID"))
{
throw new ArgumentException("缺少传入参数设备编号(EquipmentID)");
}
PlanDa cmd = new PlanDa(Parameters);
return cmd.Get_EquipmentPlanIsComplete(Parameters["EquipmentID"]);
}
catch (Exception ex)
{
log.Error(ex);
return new APIResponseData { Code = -1, Message = ex.Message };
}
}
#region
[WebMethod(Description = "获取树形结构")]
@ -1766,5 +1796,6 @@ namespace TsSFCDeviceSvc
{
return JsonConvert.DeserializeObject<Dictionary<string, string>>(inParameter);
}
}
}