Изменения

Перейти к навигации Перейти к поиску

Xtensive.DPA.Technology

4422 байта добавлено, 20:09, 3 июня 2020
Нет описания правки
Корневой элемент: Xtensive.DPA.Technology<br/>
Описание задач для действий с различными объектами DPA (создание, изменение, удаление)<br/>
''Пример xml по разделу: "downtimeReasonncProgram":''
<pre style="width: 70%;>
<downtimeReasonncProgram xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <identifier>71814a1c-0b32-4fb3-9e4b-eb6fba3441e3</identifier> <equipment> <id>123</id> <name>Test1</name> <model xsi:nil="true"/> <inventoryNumber>q-13</inventoryNumber> <description xsi:nil="true"/> <group/> <path>Главное предприятие\Цех №1\UNI</path> </equipment> <downtimeTypeproduct> <code>0021-001</code> <name>Втулка 001.11.537</name> <version>1</version> <category>Мелкие детали</category> <type>Детали</type> </product> <channel>0</channel> <controlProgram> <name>Втулка 001.11.537</name> <numberOfProducts>Unscheduled1.0000</downtimeTypenumberOfProducts> <startTimestartDate>0329.0605.2020 1410:0103:45.73 38 +05:00</startTimestartDate> <endTimeendDate>0329.0605.2020 1610:1307:43.72 22 +05:00</endTimeendDate> <durationtotalTime>0200:1103:44.5431439</totalTime> <machineTime>00:03:5744.99914735431439</durationmachineTime> <messagesoperationTime>00:00:00</operationTime> <reasonsfinalStatus>Complete</finalStatus> <reasonprogramTextCheckResult>ErrorDownloadProgram</programTextCheckResult> <startTime/controlProgram>03 <productionConfirms> <productionConfirm> <timeStamp>29.0605.2020 1410:0107:45.73 21 +05:00</startTimetimeStamp> <totalNumberOfMachinedParts>1081</totalNumberOfMachinedParts> <endTimeacceptedQuantity>030.060000000000000000000</acceptedQuantity> <unknownQuantity>1.2020 160000000000000000000</unknownQuantity> <rejectedQuantity>0.0000000000000000000</rejectedQuantity> </productionConfirm> </productionConfirms> <jobs xsi:13nil="true"/> <errors xsi:43nil="true"/> <axes> <axis name="A3" number="5"> <load> <min>0</min> <max>0</max> <average>0</average> </load> </axis> <axis name="A2" number="4"> <load> <min>0</min> <max>0</max> <average>0</average> </load> </axis> <axis name="A1" number="3"> <load> <min>0</min> <max>0</max> <average>0</average> </load> </axis> <axis name="Z" number="2"> <load> <min>0</min> <max>100</max> <average>50.402494331065782</average> </load> </axis> <axis name="Y" number="1"> <load> <min>0</min> <max>99.99</max> <average>49.976371882086156</average> </load> </axis> <axis name="X" number="0"> <load> <min>0</min> <max>100</max> <average>50.41884875846506</average> </load> </axis> </axes> <spindles> <spindle name="s2" number="1"> <load> <min>0</min> <max>0</max> <average>0</average> </load> <speed> <min>0</min> <max>0</max> <average>0</average> </speed> <speedOverride> <min>0</min> <max>100</max> <average>100</average> </speedOverride> </spindle> <spindle name="s1" number="0"> <load> <min>0</min> <max>100</max> <average>50.18977116704805</average> </load> <speed> <min>0</min> <max>6125.72 </max> <average>4694.0756043956035</average> </speed> <speedOverride> <min>0</min> <max>100</max> <average>100</average> </speedOverride> </spindle> </spindles> <channels> <channel name="Chanel 2" number="1"> <feedrate> <min>0</min> <max>1</max> <average>1</average> </feedrate> <feedrateOverride> <min>0</min> <max>100</max> <average>100</average> </feedrateOverride> <rapidTraverseOverride> <min>0</min> <max>100</max> <average>100</average> </rapidTraverseOverride> <downtimes> <downtime> <status>Processed</status> <downtimeType>Короткий простой</downtimeType> <downtimeCategory>Не определено</downtimeCategory> <stopClass>None</stopClass> <reasonName>Короткие простои</reasonName> <reasonCategory xsi:nil="true"/> <reasonType xsi:nil="true"/> <reasonColor>#f59f0a</reasonColor> <operatorComment/> <startDate>29.05.2020 10:07:21 +05:00</endTimestartDate> <durationendDate>0229.05.2020 10:07:1124 +05:57.999147300</endDate> </durationdowntime> <reason/downtimes>Попадание стружки в узлы станка </reasonchannel> <user middle-channel name="НеймChanel 1" surnamenumber="Систем0" name> <feedrate> <min>0</min> <max>1</max> <average>0.79999999999999993</average> </feedrate> <feedrateOverride> <min>0</min> <max>100</max> <average>79.96</average> </feedrateOverride> <rapidTraverseOverride> <min>0</min> <max>100</max> <average>100</average> </rapidTraverseOverride> <downtimes> <downtime> <status>Processed</status> <downtimeType>Короткий простой</downtimeType> <downtimeCategory>Не определено</downtimeCategory> <stopClass>None</stopClass> <reasonName>Короткие простои</reasonName> <reasonCategory xsi:nil="Юзерtrue" personnelNumber/> <reasonType xsi:nil="1050330931true"/> <reasonColor>#f59f0a</reasonColor> <operatorComment/reason> <startDate>29.05.2020 10:07:21 +05:00</reasonsstartDate> <endDate>29.05.2020 10:07:24 +05:00</endDate> </downtime> </downtimes> </channel> </channels> </downtimeReasonncProgramFinished>
</pre>
==root - Импорт технологии в DPA ==
239

правок

Навигация