Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use “Merge Items in Room” option to merge Items List in two differents rooms together. With this option it is possible to handle more than one version of the same room.

The Occurrences in a Room will have a connection to the occurrence within the original room, that gives an option to merge the Occurrences. 

  1. Select the Room that the merge Item lists should be placed within.

    Image Removed
  2. Select “Merge Items from” within the Ribbon menu. And a window will appear.

  3. Select the room you want to merge the Items from.

  4. Select “Ok”. A list of actions will appear:

...

5. Uncheck boxes of actions that should not be included in the merge.

6. Select “ok”

The Occurrences of the items selected in step 3 are now merge with the Occurrences in the room selected in step 1.

The goal of merging is to keep as much of the historical values of the occurrences, that means that dRofus tries to keep the oldest version of the occurrence if that is possible. 

Info

Example

  1. Room 1 has a Chair A with the color blue.

  2. Room 1 is copied and named room 2. Room 2 has also a chair A(copy) with color blue. 

  3. The color to chair A (copy) changes to green.  

  4. Merge Item list:  In the merging process the changes made to chair A(Copy) would be updated to the original Chair A. In this case. Chair A would change to green and the chair A(copy) would be deleted.  That means that dRofus will keep all historic values on the chair A, but now it is green.

Note

The Copy room and merge items function can be used to work with rooms that are in two phases in once.
If you are planning a rebuild of a couple of rooms in a building that is in operation, you will need a copy of those rooms to start your planning process and you will need a function to merge the items when you are starting the building process

Rules applied to the Merge items from room function

With the merge function there is a lot of rules that decide what will happen in each case. 
These rules are:

Only Exists In Source:

•The occurrence is new in the source room (created after the copied was performed).

•The merge will move it to the target room;

Only Exists In Target:

•The occurrence is new in the target room (created after the copied was performed).

•The merge will leave it in the target room;

Source Equals Target:

•The occurrence in both source and target rooms is equal.

•The merge will not change the occurrence in target room but will delete the occurrence in the source room; 

Source Exists Target Deleted:

•The occurrence still exists in the source room, but it was deleted in the target room.

•The merge won't do anything with the occurrences;

Source Deleted Target Exist:

•The occurrence was deleted in the source room, but still exists in target.

•The merge will delete the occurrence in the target room;

SourceAndTargetChanged':

•The occurrence was change in both the source and target rooms.

•The merge will move the changed occurrence in the source room to the target room, keeping both occurrences in the source room. 

'OnlySourceChanged':

•The occurrence was changed only in the source room.

•The merge will move the original occurrence to the target room and delete the other occurrence in target; 

'OnlyTargetChanged':

•The occurrence was changed only in the target room.

•The merge will move the original occurrence to the target room, apply the changes that were done in target room to this and delete the other occurrence in target; 

'SourceIsSystemComponentAndTargetChanged':

•This is a special case of 'OnlyTargetChanged', where only the occurrence in the source room was changed, but the occurrence in the source room is a system component.

•The merge will move the occurrence in the source room to the target room and keep the modified occurrence in the target room."部屋のアイテムをマージ (Merge Items in Room)" オプションを使用すると、
2つの異なる部屋の、アイテムリストを一緒にマージすることができます。
このオプションを使用すると、同じ部屋の複数のバージョンを扱うことができます。

部屋内のオカレンスは、オリジナルの部屋との接続を持ち、
オカレンスをマージするオプションがあります。

  1. マージアイテムリストを配置する部屋を選択します。

    Image Added
  2. リボンメニューから "マージ・アイテム元" を選択します。ウィンドウが表示されます。

  3. アイテムをマージしたい部屋を選択します。

  4. "OK" を選択します。実行リストが表示されます:

...

5. マージに含めるべきではないアクションのチェックボックスをオフにします。

6. "OK "を選択します。

ステップ3で選択されたアイテムのオカレンスは、ステップ1で選択された部屋のオカレ ンスと、
マージされます。

つまり、dRofusは可能であれば、オカレンスの最も古いバージョンを保持しようとします
- マージする目的は、オカレンスの過去の値をできるだけ保持することです。

Info

  1. 部屋 1 には青を基調とした椅子 A があります。

  2. 部屋 1 はコピーされ、部屋 2 と名づけられました。
    部屋 2 にも青を基調とした椅子 A(コピー)があります。

  3. 椅子A(コピー)の色は緑に変わります。

  4. アイテムリストをマージ:マージプロセスでは、チェア A(コピー)に加えられた変更は、
    オリジナルのチェア A に更新されます。この場合 チェアAは緑に変わり、チェアA(コピー)は
    削除されます。つまり、dRofus はチェア A のすべての履歴を保持しますが、
    チェア A は緑色になります。


Note

部屋のコピーとアイテムのマージ機能は、一度に2つのフェーズにある部屋を操作するために、
使用することができます。
もし、稼働中の建物のいくつかの部屋の建て替えを計画している場合には、計画プロセスを開始するためにそれらの部屋のコピーが必要であり、建設プロセスを開始する際にアイテムをマージする機能が必要です。

部屋機能からアイテムのマージに適用されるルール

マージ 機能には、それぞれのケースで何が起こるかを決定づける多くのルールがあります。
これらのルールは以下の通りです:

Only Exists In Source:

•そのオカレンスは、ソース部屋で新たに発生したものである (コピーされた後に作成されたもの)。

•マージ はそれをターゲット部屋に移動させる;

Only Exists In Target:

•オカレンスは新しいターゲット部屋 (コピー後に作成)である。

•マージはターゲット部屋に置く;

Source Equals Target:

•ソース部屋とターゲット部屋の両方でのオカレンスは等しい。

•マージはターゲット部屋のオカレンスを変更しませんが、ソース部屋のオカレンスを削除します; 

Source Exists Target Deleted:

•このオカレンスはソース部屋にはまだ存在しますが、ターゲット部屋では削除されました。

•マージはオカレンスに対して何もしない;

Source Deleted Target Exist:

•オカレンスはソース部屋で削除されたが、ターゲット部屋にはまだ存在する。

•マージ はターゲット部屋のオカレンスを削除します;

SourceAndTargetChanged':

•オカレンスはソース部屋とターゲット部屋の両方で変化した。

•マージは、ソース部屋の変更されたオカレンスをターゲット部屋に移動し、両方のオカレンスを
ソース部屋に残します。

'OnlySourceChanged':

•オカレンスはソース部屋でのみ変更された。

•マージは、元のオカレンスをターゲット部屋に移動し、ターゲットにあるもう1つのオカレンスを
削除する;

'OnlyTargetChanged':

•オカレンスはターゲット部屋でのみ変更された。

•マージ は元のオカレンスをターゲット部屋に移動し、ターゲット部屋で行われた変更をこれに適用し、
ターゲット部屋にあるもう一つのオカレンスを削除します;

'SourceIsSystemComponentAndTargetChanged':

•これは “OnlyTargetChanged” の特殊なケースで、ソース部屋のオカレンスのみが変更されたが、
ソース部屋のオカレンスはシステムコンポーネントである。

•マージ はソース部屋のオカレンスをターゲット部屋に移動し、変更されたオカレンスを、
ターゲット部屋に保持します。