You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
3.4 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package base
  3. import (
  4. "LAPP_LF_MOM_BACKEND/grmi"
  5. model "LAPP_LF_MOM_BACKEND/models/base"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Description : OPCBasicComInfo的字段元数据
  10. *
  11. * @Author : 代码生成器创建
  12. *
  13. * @Date : 2021-08-13 16:59:07
  14. *
  15. ******************************************************************************/
  16. var OPCBasicComInfo_PlantNr = grmi.NewField("PlantNr", "OPCBasicComInfo.PlantNr", "plantnr", grmi.TypeInt)
  17. var OPCBasicComInfo_OperationId = grmi.NewField("OperationId", "OPCBasicComInfo.OperationId", "operationid", grmi.TypeInt)
  18. var OPCBasicComInfo_WorkPlaceNr = grmi.NewField("WorkPlaceNr", "OPCBasicComInfo.WorkPlaceNr", "workplacenr", grmi.TypeInt)
  19. var OPCBasicComInfo_PO = grmi.NewField("PO", "OPCBasicComInfo.PO", "po", grmi.TypeInt)
  20. var OPCBasicComInfo_StepNo = grmi.NewField("StepNo", "OPCBasicComInfo.StepNo", "stepno", grmi.TypeInt)
  21. var OPCBasicComInfo_StepDesc = grmi.NewField("StepDesc", "OPCBasicComInfo.StepDesc", "stepdesc", grmi.TypeString)
  22. var OPCBasicComInfo_ProjectId = grmi.NewField("ProjectId", "OPCBasicComInfo.ProjectId", "projectid", grmi.TypeString)
  23. var OPCBasicComInfo_BrandName = grmi.NewField("BrandName", "OPCBasicComInfo.BrandName", "brandname", grmi.TypeString)
  24. var OPCBasicComInfo_MachineType = grmi.NewField("MachineType", "OPCBasicComInfo.MachineType", "machinetype", grmi.TypeString)
  25. var OPCBasicComInfo_IpAddress = grmi.NewField("IpAddress", "OPCBasicComInfo.IpAddress", "ipaddress", grmi.TypeString)
  26. var OPCBasicComInfo_LastModify = grmi.NewField("LastModify", "OPCBasicComInfo.LastModify", "lastmodify", grmi.TypeDateTime)
  27. var OPCBasicComInfo_LastUser = grmi.NewField("LastUser", "OPCBasicComInfo.LastUser", "lastuser", grmi.TypeString)
  28. var OPCBasicComInfo_CreateTime = grmi.NewField("CreateTime", "OPCBasicComInfo.CreateTime", "createtime", grmi.TypeDateTime)
  29. /******************************************************************************
  30. *
  31. * @Description : OPCBasicComInfo的元数据
  32. *
  33. * @Author : 代码生成器创建
  34. *
  35. * @Date : 2021-08-13 16:59:07
  36. *
  37. ******************************************************************************/
  38. var OPCBasicComInfo = grmi.NewEntity(
  39. "OPCBasicComInfo",
  40. func() interface{} { return &model.OPCBasicComInfo{} },
  41. map[string]grmi.Field{
  42. OPCBasicComInfo_PlantNr.Name: OPCBasicComInfo_PlantNr,
  43. OPCBasicComInfo_OperationId.Name: OPCBasicComInfo_OperationId,
  44. OPCBasicComInfo_WorkPlaceNr.Name: OPCBasicComInfo_WorkPlaceNr,
  45. OPCBasicComInfo_PO.Name: OPCBasicComInfo_PO,
  46. OPCBasicComInfo_StepNo.Name: OPCBasicComInfo_StepNo,
  47. OPCBasicComInfo_StepDesc.Name: OPCBasicComInfo_StepDesc,
  48. OPCBasicComInfo_ProjectId.Name: OPCBasicComInfo_ProjectId,
  49. OPCBasicComInfo_BrandName.Name: OPCBasicComInfo_BrandName,
  50. OPCBasicComInfo_MachineType.Name: OPCBasicComInfo_MachineType,
  51. OPCBasicComInfo_IpAddress.Name: OPCBasicComInfo_IpAddress,
  52. OPCBasicComInfo_LastModify.Name: OPCBasicComInfo_LastModify,
  53. OPCBasicComInfo_LastUser.Name: OPCBasicComInfo_LastUser,
  54. OPCBasicComInfo_CreateTime.Name: OPCBasicComInfo_CreateTime,
  55. },
  56. []string{"PlantNr"},
  57. []string{"PO", "StepNo", "StepDesc", "ProjectId", "BrandName", "MachineType", "IpAddress", "LastUser"})