expertcad/SRC/SCSNormBase/U_ProjectRev.dfm
2025-05-12 10:07:51 +03:00

528 lines
23 KiB
Plaintext

object F_ProjectRev: TF_ProjectRev
Left = 326
Top = 196
Width = 716
Height = 472
AutoScroll = True
Caption = #1042#1077#1088#1089#1080#1080' '#1087#1088#1086#1077#1082#1090#1072
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poMainFormCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object RzGroupBox1: TRzGroupBox
Left = 0
Top = 0
Width = 700
Height = 389
Align = alClient
TabOrder = 0
ExplicitHeight = 390
object RzPanel1: TRzPanel
Left = 1
Top = 357
Width = 698
Height = 31
Align = alBottom
BorderOuter = fsNone
TabOrder = 1
ExplicitTop = 358
object btSetAsBaseline: TRzButton
Left = 8
Top = 2
Width = 137
Action = aSetAsBaseLine
HotTrack = True
TabOrder = 0
end
object btApplyRevision: TRzButton
Left = 152
Top = 2
Width = 145
Action = aApplyRev
HotTrack = True
TabOrder = 1
end
end
object gridRevs: TcxGrid
Left = 1
Top = 14
Width = 698
Height = 343
Align = alClient
PopupMenu = PopupMenu
TabOrder = 0
ExplicitHeight = 344
object GT_Revs: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
OnCustomDrawCell = GT_RevsCustomDrawCell
DataController.DataSource = dsrcProjRevs
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsData.Deleting = False
OptionsData.Inserting = False
OptionsSelection.MultiSelect = True
OptionsView.CellAutoHeight = True
OptionsView.GroupByBox = False
OptionsView.HeaderAutoHeight = True
OptionsView.Indicator = True
OptionsView.IndicatorWidth = 8
object GT_RevsID: TcxGridDBColumn
DataBinding.FieldName = 'ID'
Visible = False
Options.Editing = False
end
object GT_RevsRevision: TcxGridDBColumn
Caption = 'Rev.'
DataBinding.FieldName = 'REVISION'
PropertiesClassName = 'TcxSpinEditProperties'
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 78
end
object GT_RevsDate: TcxGridDBColumn
Caption = 'Date'
DataBinding.FieldName = 'DATE_IN'
PropertiesClassName = 'TcxDateEditProperties'
Properties.ShowTime = False
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Options.Sorting = False
Width = 60
end
object GT_RevsMaterialCost: TcxGridDBColumn
Caption = 'Materials'
DataBinding.FieldName = 'MATERIAL_COST'
PropertiesClassName = 'TcxCurrencyEditProperties'
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 92
end
object GT_RevsNormCost: TcxGridDBColumn
Caption = 'Labor'
DataBinding.FieldName = 'NORM_COST'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00'#1088#39'.'#39';-,0.00'#1088#39'.'#39
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 80
end
object GT_RevsTotalCost: TcxGridDBColumn
Caption = 'Total'
DataBinding.FieldName = 'TOTAL_COST'
PropertiesClassName = 'TcxCurrencyEditProperties'
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 69
end
object GT_RevsDiff: TcxGridDBColumn
Caption = 'Difference'
DataBinding.FieldName = 'DIFF'
PropertiesClassName = 'TcxCurrencyEditProperties'
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 70
end
object GT_RevsComment: TcxGridDBColumn
Caption = 'Note'
DataBinding.FieldName = 'COMMENT'
PropertiesClassName = 'TcxMemoProperties'
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 170
end
object GT_RevsBaseLine: TcxGridDBColumn
Caption = 'Baseline'
DataBinding.FieldName = 'BASELINE'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.DisplayChecked = '1'
Properties.DisplayUnchecked = '0'
Properties.NullStyle = nssUnchecked
Properties.ReadOnly = False
Properties.ValueChecked = 1
Properties.ValueUnchecked = 0
Options.Editing = False
Options.Filtering = False
Options.Moving = False
Width = 59
end
end
object GL_Revs: TcxGridLevel
GridView = GT_Revs
end
end
end
object gbOkCancel: TRzGroupBox
Left = 0
Top = 389
Width = 700
Height = 44
Align = alBottom
TabOrder = 1
Visible = False
OnResize = gbOkCancelResize
ExplicitTop = 390
object btOK: TRzBitBtn
Left = 144
Top = 15
Width = 85
Default = True
ModalResult = 1
Caption = 'OK'
HotTrack = True
TabOrder = 0
end
object btApply: TRzBitBtn
Left = 240
Top = 15
Width = 96
Caption = #1055#1088#1080#1084#1077#1085#1080#1090#1100
HotTrack = True
TabOrder = 2
end
object btCancel: TRzBitBtn
Left = 352
Top = 15
Width = 85
Cancel = True
ModalResult = 2
Caption = #1054#1090#1084#1077#1085#1072
HotTrack = True
TabOrder = 1
end
end
object ActionManager: TActionManager
Images = DMCommon.ImageList_Tree
Left = 40
Top = 104
StyleName = 'Platform Default'
object aSetAsBaseLine: TAction
Caption = #1059#1089#1090#1072#1085#1086#1074#1080#1090#1100' '#1082#1072#1082' '#1073#1072#1079#1086#1074#1091#1102
OnExecute = aSetAsBaseLineExecute
end
object aApplyRev: TAction
Caption = #1042#1086#1089#1089#1090#1072#1085#1086#1074#1080#1090#1100' '#1074#1077#1088#1089#1080#1102
OnExecute = aApplyRevExecute
end
end
object PopupMenu: TPopupMenu
Images = DMCommon.ImageList_Tree
OwnerDraw = True
Left = 112
Top = 152
object N2: TMenuItem
Action = aSetAsBaseLine
end
object Setasbaseline1: TMenuItem
Action = aApplyRev
end
end
object XPMenu1: TXPMenu
Font.Charset = DEFAULT_CHARSET
Font.Color = clMenuText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Color = clBtnFace
IconBackColor = clBtnFace
MenuBarColor = clBtnFace
SelectColor = clHighlight
SelectBorderColor = clHighlight
SelectFontColor = clMenuText
DisabledColor = clInactiveCaption
SeparatorColor = clBtnFace
CheckedColor = clHighlight
IconWidth = 24
DrawSelect = True
UseSystemColors = True
OverrideOwnerDraw = False
Gradient = True
FlatMenu = False
Active = True
Left = 144
Top = 152
end
object lng_Forms: TsiLangLinked
Version = '6.5.2'
StringsTypes.Strings = (
'TIB_STRINGLIST'
'TSTRINGLIST')
SmartExcludeProps.Strings = (
'Label1.Font'
'edtAnswer2.Font'
'lblProgID.Font'
'btnOk.Font'
'btnCancel.Font'
'TF_Registration.Font'
'edtAnswer1.Font')
UseDefaultLanguage = True
NumOfLanguages = 7
LangDispatcher = F_LNG.siLangDisp
LangDelim = 1
LangNames.Strings = (
'RUS'
'UKR'
'ENG'
'GER'
'FRA'
'SPA'
'RUS_ARH')
Language = 'RUS'
ExcludedProperties.Strings = (
'Category'
'SecondaryShortCuts'
'HelpKeyword'
'InitialDir'
'HelpKeyword'
'ActivePage'
'ImeName'
'DefaultExt'
'FileName'
'FieldName'
'PickList'
'DisplayFormat'
'EditMask'
'KeyList'
'LookupDisplayFields'
'DropDownSpecRow'
'TableName'
'DatabaseName'
'IndexName'
'MasterFields')
Left = 78
Top = 82
TranslationData = {
73007400430061007000740069006F006E0073005F0055006E00690063006F00
640065000D000A00540046005F00500072006F006A0065006300740052006500
7600010012043504400441043804380420003F0440043E0435043A0442043004
010012043504400441045604570420003F0440043E0435043A04420430040100
57006F0072006B00200062006F006F006B00200052004500560073002F004800
6900730074006F007200690065007300010001000100010001000D000A006100
4100700070006C007900520065007600010012043E0441044104420430043D04
3E043204380442044C042000320435044004410438044E040100120456043404
3D043E0432043804420438042000320435044004410456044E04010041007000
70006C00790020007200650076006900730069006F006E000100010001000100
01000D000A00470054005F005200650076007300490044000100490044000100
49004400010049004400010001000100010001000D000A006100530065007400
4100730042006100730065004C0069006E006500010023044104420430043D04
3E043204380442044C0420003A0430043A0420003104300437043E0432044304
4E04010012044104420430043D043E04320438044204380420004F043A042000
3104300437043E04320443040100530065007400200061007300200062006100
730065006C0069006E006500010001000100010001000D000A00620074004100
700070006C00790001001F04400438043C0435043D04380442044C0401001704
3004410442043E0441044304320430044204380401004100700070006C007900
010001000100410070006C006900630061007200010001000D000A0047005400
5F00520065007600730042006100730065004C0069006E006500010042006100
730065006C0069006E006500010042006100730065006C0069006E0065000100
42006100730065006C0069006E006500010001000100010001000D000A006200
7400430061006E00630065006C0001001E0442043C0435043D04300401001204
560434043C0456043D0430040100430061006E00630065006C00010001000100
430061006E00630065006C0061007200010001000D000A00470054005F005200
6500760073004400610074006500010044006100740065000100440061007400
650001004400610074006500010001000100010001000D000A00470054005F00
5200650076007300440069006600660001004400690066006600650072006500
6E0063006500010044006900660066006500720065006E006300650001004400
6900660066006500720065006E0063006500010001000100010001000D000A00
470054005F0052006500760073004E006F0072006D0043006F00730074000100
4C00610062006F00720001004C00610062006F00720001004C00610062006F00
7200010001000100010001000D000A00470054005F0052006500760073004D00
6100740065007200690061006C0043006F007300740001004D00610074006500
7200690061006C00730001004D006100740065007200690061006C0073000100
4D006100740065007200690061006C007300010001000100010001000D000A00
470054005F00520065007600730043006F006D006D0065006E00740001004E00
6F007400650001004E006F007400650001004E006F0074006500010001000100
010001000D000A00620074004F004B0001004F004B0001004F004B0001004F00
6B000100010001004F004B00010001000D000A00470054005F00520065007600
73005200650076006900730069006F006E0001005200650076002E0001005200
650076002E0001005200650076002E00010001000100010001000D000A004700
54005F00520065007600730054006F00740061006C0043006F00730074000100
54006F00740061006C00010054006F00740061006C00010054006F0074006100
6C00010001000100010001000D000A0073007400480069006E00740073005F00
55006E00690063006F00640065000D000A007300740044006900730070006C00
610079004C006100620065006C0073005F0055006E00690063006F0064006500
0D000A007300740046006F006E00740073005F0055006E00690063006F006400
65000D000A00540046005F00500072006F006A00650063007400520065007600
01004D0053002000530061006E00730020005300650072006900660001004D00
53002000530061006E00730020005300650072006900660001004D0053002000
530061006E0073002000530065007200690066000100010001004D0053002000
530061006E007300200053006500720069006600010001000D000A0058005000
4D0065006E007500310001005400610068006F006D0061000100540061006800
6F006D00610001005400610068006F006D006100010001000100540061006800
6F006D006100010001000D000A00730074004D0075006C00740069004C006900
6E00650073005F0055006E00690063006F00640065000D000A00410063007400
69006F006E004D0061006E0061006700650072002E005000720069006F007200
6900740079005300630068006500640075006C006500010030003D0033002C00
31003D0033002C0032003D0036002C0033003D0039002C0034003D0031003200
2C0035003D00310032002C0036003D00310037002C0037003D00310037002C00
38003D00310037002C0039003D00320033002C00310030003D00320033002C00
310031003D00320033002C00310032003D00320033002C00310033003D003200
33002C00310034003D00330031002C00310035003D00330031002C0031003600
3D00330031002C00310037003D00330031002C00310038003D00330031002C00
310039003D00330031002C00320030003D00330031002C00320031003D003300
31002C00320032003D00330031002C00320033003D00330031002C0032003400
3D00330031002C00320035003D0033003100010030003D0033002C0031003D00
33002C0032003D0036002C0033003D0039002C0034003D00310032002C003500
3D00310032002C0036003D00310037002C0037003D00310037002C0038003D00
310037002C0039003D00320033002C00310030003D00320033002C0031003100
3D00320033002C00310032003D00320033002C00310033003D00320033002C00
310034003D00330031002C00310035003D00330031002C00310036003D003300
31002C00310037003D00330031002C00310038003D00330031002C0031003900
3D00330031002C00320030003D00330031002C00320031003D00330031002C00
320032003D00330031002C00320033003D00330031002C00320034003D003300
31002C00320035003D0033003100010030003D0033002C0031003D0033002C00
32003D0036002C0033003D0039002C0034003D00310032002C0035003D003100
32002C0036003D00310037002C0037003D00310037002C0038003D0031003700
2C0039003D00320033002C00310030003D00320033002C00310031003D003200
33002C00310032003D00320033002C00310033003D00320033002C0031003400
3D00330031002C00310035003D00330031002C00310036003D00330031002C00
310037003D00330031002C00310038003D00330031002C00310039003D003300
31002C00320030003D00330031002C00320031003D00330031002C0032003200
3D00330031002C00320033003D00330031002C00320034003D00330031002C00
320035003D003300310001000100010030003D0033002C0031003D0033002C00
32003D0036002C0033003D0039002C0034003D00310032002C0035003D003100
32002C0036003D00310037002C0037003D00310037002C0038003D0031003700
2C0039003D00320033002C00310030003D00320033002C00310031003D003200
33002C00310032003D00320033002C00310033003D00320033002C0031003400
3D00330031002C00310035003D00330031002C00310036003D00330031002C00
310037003D00330031002C00310038003D00330031002C00310039003D003300
31002C00320030003D00330031002C00320031003D00330031002C0032003200
3D00330031002C00320033003D00330031002C00320034003D00330031002C00
320035003D0033003100010001000D000A007300740053007400720069006E00
670073005F0055006E00690063006F00640065000D000A00730074004F007400
68006500720053007400720069006E00670073005F0055006E00690063006F00
640065000D000A00470054005F0052006500760073004E006F0072006D004300
6F00730074002E00500072006F00700065007200740069006500730043006C00
6100730073004E0061006D006500010054006300780043007500720072006500
6E00630079004500640069007400500072006F00700065007200740069006500
73000100540063007800430075007200720065006E0063007900450064006900
7400500072006F00700065007200740069006500730001005400630078004300
75007200720065006E00630079004500640069007400500072006F0070006500
7200740069006500730001000100010054006300780043007500720072006500
6E00630079004500640069007400500072006F00700065007200740069006500
7300010001000D000A00470054005F0052006500760073005200650076006900
730069006F006E002E00500072006F0070006500720074006900650073004300
6C006100730073004E0061006D00650001005400630078005300700069006E00
4500640069007400500072006F00700065007200740069006500730001005400
630078005300700069006E004500640069007400500072006F00700065007200
740069006500730001005400630078005300700069006E004500640069007400
500072006F007000650072007400690065007300010001000100010001000D00
0A00470054005F00520065007600730044006100740065002E00500072006F00
700065007200740069006500730043006C006100730073004E0061006D006500
010054006300780044006100740065004500640069007400500072006F007000
6500720074006900650073000100540063007800440061007400650045006400
69007400500072006F0070006500720074006900650073000100540063007800
44006100740065004500640069007400500072006F0070006500720074006900
65007300010001000100010001000D000A00470054005F005200650076007300
4D006100740065007200690061006C0043006F00730074002E00500072006F00
700065007200740069006500730043006C006100730073004E0061006D006500
0100540063007800430075007200720065006E00630079004500640069007400
500072006F007000650072007400690065007300010054006300780043007500
7200720065006E00630079004500640069007400500072006F00700065007200
74006900650073000100540063007800430075007200720065006E0063007900
4500640069007400500072006F00700065007200740069006500730001000100
0100010001000D000A00470054005F00520065007600730054006F0074006100
6C0043006F00730074002E00500072006F007000650072007400690065007300
43006C006100730073004E0061006D0065000100540063007800430075007200
720065006E00630079004500640069007400500072006F007000650072007400
6900650073000100540063007800430075007200720065006E00630079004500
640069007400500072006F007000650072007400690065007300010054006300
7800430075007200720065006E00630079004500640069007400500072006F00
7000650072007400690065007300010001000100010001000D000A0047005400
5F00520065007600730044006900660066002E00500072006F00700065007200
740069006500730043006C006100730073004E0061006D006500010054006300
7800430075007200720065006E00630079004500640069007400500072006F00
7000650072007400690065007300010054006300780043007500720072006500
6E00630079004500640069007400500072006F00700065007200740069006500
73000100540063007800430075007200720065006E0063007900450064006900
7400500072006F00700065007200740069006500730001000100010001000100
0D000A00470054005F00520065007600730043006F006D006D0065006E007400
2E00500072006F00700065007200740069006500730043006C00610073007300
4E0061006D00650001005400630078004D0065006D006F00500072006F007000
65007200740069006500730001005400630078004D0065006D006F0050007200
6F00700065007200740069006500730001005400630078004D0065006D006F00
500072006F007000650072007400690065007300010001000100010001000D00
0A00470054005F00520065007600730042006100730065004C0069006E006500
2E00500072006F0070006500720074006900650073002E004400690073007000
6C006100790043006800650063006B0065006400010031000100310001003100
010001000100010001000D000A00470054005F00520065007600730042006100
730065004C0069006E0065002E00500072006F00700065007200740069006500
73002E0044006900730070006C006100790055006E0063006800650063006B00
65006400010030000100300001003000010001000100010001000D000A004700
54005F00520065007600730042006100730065004C0069006E0065002E005000
72006F00700065007200740069006500730043006C006100730073004E006100
6D006500010054006300780043006800650063006B0042006F00780050007200
6F00700065007200740069006500730001005400630078004300680065006300
6B0042006F007800500072006F00700065007200740069006500730001005400
6300780043006800650063006B0042006F007800500072006F00700065007200
7400690065007300010001000100010001000D000A0064007300500072006F00
6A0052006500760073002E00410062006F0075007400010036002E0039002E00
3900200032003000300039002F003200300031003000010036002E0039002E00
3900200032003000300039002F003200300031003000010036002E0039002E00
3900200032003000300039002F00320030003100300001000100010001000100
0D000A007400720061006E007300610063007400500072006F006A0052006500
760073002E00410062006F0075007400010036002E0039002E00390001003600
2E0039002E003900010036002E0039002E003900010001000100010001000D00
0A007400720061006E007300610063007400500072006F006A00520065007600
73002E0055007300650072004B0069006E0064005400720061006E0073006100
6300740069006F006E0001004E006F0055007300650072004B0069006E006400
01004E006F0055007300650072004B0069006E00640001004E006F0055007300
650072004B0069006E006400010001000100010001000D000A00730074004300
6F006C006C0065006300740069006F006E0073005F0055006E00690063006F00
640065000D000A0073007400430068006100720053006500740073005F005500
6E00690063006F00640065000D000A00540046005F00500072006F006A006500
630074005200650076000100440045004600410055004C0054005F0043004800
410052005300450054000100440045004600410055004C0054005F0043004800
410052005300450054000100440045004600410055004C0054005F0043004800
410052005300450054000100440045004600410055004C0054005F0043004800
410052005300450054000100440045004600410055004C0054005F0043004800
41005200530045005400010041004E00530049005F0043004800410052005300
450054000100440045004600410055004C0054005F0043004800410052005300
4500540001000D000A00580050004D0065006E00750031000100440045004600
410055004C0054005F0043004800410052005300450054000100440045004600
410055004C0054005F0043004800410052005300450054000100440045004600
410055004C0054005F0043004800410052005300450054000100440045004600
410055004C0054005F0043004800410052005300450054000100440045004600
410055004C0054005F004300480041005200530045005400010041004E005300
49005F0043004800410052005300450054000100440045004600410055004C00
54005F00430048004100520053004500540001000D000A00}
end
object dsProjRevs: TpFIBDataSet
AutoUpdateOptions.UpdateTableName = 'PROJECT_REV'
AutoUpdateOptions.KeyFields = 'ID'
AutoUpdateOptions.AutoReWriteSqls = True
AutoUpdateOptions.GeneratorName = 'GEN_PROJECT_REV_ID'
AutoUpdateOptions.WhenGetGenID = wgOnNewRecord
AutoUpdateOptions.AutoParamsToFields = True
Transaction = transactProjRevs
AutoCommit = True
Left = 152
Top = 88
poSQLINT64ToBCD = True
end
object transactProjRevs: TpFIBTransaction
TimeoutAction = TARollback
Left = 192
Top = 88
end
object dsrcProjRevs: TDataSource
DataSet = dsProjRevs
Left = 232
Top = 88
end
end