Stream(ArrayList data, MEPCurveType mepCurType) { data.Add(new Snoop.Data.ClassSeparator(typeof(MEPCurveType))); data.Add(new Snoop.Data.Object("Cross", mepCurType.Cross)); data.Add(new Snoop.Data.Object("Elbow", mepCurType.Elbow)); data.Add(new Snoop.Data.Object("Multi shape transition", mepCurType.MultiShapeTransition)); data.Add(new Snoop.Data.String("Preferred junction type", mepCurType.PreferredJunctionType.ToString())); data.Add(new Snoop.Data.Double("Roughness", mepCurType.Roughness)); data.Add(new Snoop.Data.Object("Tap", mepCurType.Tap)); data.Add(new Snoop.Data.Object("Tee", mepCurType.Tee)); data.Add(new Snoop.Data.Object("Transition", mepCurType.Transition)); data.Add(new Snoop.Data.Object("Union", mepCurType.Union)); DuctType ductType = mepCurType as DuctType; if (ductType != null) { Stream(data, ductType); return; } FlexDuctType flexDuctType = mepCurType as FlexDuctType; if (flexDuctType != null) { Stream(data, flexDuctType); return; } PipeType pipeType = mepCurType as PipeType; if (pipeType != null) { Stream(data, pipeType); return; } FlexPipeType flexPipeType = mepCurType as FlexPipeType; if (flexPipeType != null) { Stream(data, flexPipeType); return; } }
private void Stream(ArrayList data, FlexDuctType flexDuctType) { data.Add(new Snoop.Data.ClassSeparator(typeof(FlexDuctType))); // Nothing at this level yet }
Stream(ArrayList data, FlexDuctType flexDuctType) { data.Add(new Snoop.Data.ClassSeparator(typeof(FlexDuctType))); // Nothing at this level yet }