<?xml version="1.0" encoding="UTF-8"?><LscSpec xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="D:\Research\My Works\CSPLSC\LSC2CSP\LSCXSD.xsd">	<SpecName>PhoneSystem</SpecName>	<TypeDef>		<Name>DisplayState</Name>			<Enumeration>			<Element>Time</Element>			<Element>Off</Element>			<Element>On</Element>				</Enumeration>		</TypeDef>		<TypeDef>		<Name>SpeakerState</Name>			<Enumeration>			<Element>SpeakerOff</Element>			<Element>SpeakerOn</Element>					<Element>Silent</Element>			</Enumeration>		</TypeDef>		<Variables>		<Instance>Display</Instance>		<Variable>			<Name>State</Name>			<Type>DisplayState</Type>			<InitValue>Time</InitValue>			</Variable>	</Variables>	<Variables>		<Instance>Speaker</Instance>		<Variable>			<Name>State</Name>			<Type>SpeakerState</Type>			<InitValue>SpeakerOn</InitValue>			</Variable>	</Variables>	<UnvChart>		<LscName>CloseCover</LscName>		<Prechart>			<Instance>				<Name>User</Name>				<ColdLocation>					<Event>						<ColdMessage>							<Output>								<Content>Close</Content>								<To>Cover</To>							</Output>						</ColdMessage>					</Event>				</ColdLocation>			</Instance>			<Instance>				<Name>Cover</Name>				<ColdLocation>					<Event>						<ColdMessage>							<Input>								<Content>Close</Content>								<From>User</From>							</Input>						</ColdMessage>					</Event>				</ColdLocation>			</Instance>		</Prechart>		<Instance>			<Name>User</Name>			<Subchart>				<ID>12</ID>				<Body>					<ColdLocation>						<Event>							<ColdMessage>								<Input>									<Content>SetState_Time</Content>									<From>Display</From>								</Input>							</ColdMessage>						</Event>					</ColdLocation>				</Body>			</Subchart>			<ColdLocation>				<Event>					<ColdMessage>						<Input>							<Content>Sound_Silent</Content>							<From>Speaker</From>						</Input>					</ColdMessage>				</Event>			</ColdLocation>		</Instance>		<Instance>			<Name>Display</Name>			<Subchart>				<ID>12</ID>				<Body>					<ColdCondition>						<ID>1</ID>							<Variables>State</Variables>						<Expression>State != Off</Expression>					</ColdCondition>					<ColdLocation>						<Event>							<Action>								<SetState>									<Variable>State</Variable>									<Value>Time</Value>								</SetState>							</Action>						</Event>					</ColdLocation>					<ColdLocation>						<Event>							<ColdMessage>								<Output>									<Content>SetState_Time</Content>									<To>User</To>								</Output>							</ColdMessage>						</Event>					</ColdLocation>				</Body>			</Subchart>		</Instance>		<Instance>			<Name>Speaker</Name>			<ColdLocation>				<Event>					<Action>						<SetState>							<Variable>State</Variable>							<Value>Silent</Value>						</SetState>					</Action>				</Event>			</ColdLocation>			<ColdLocation>				<Event>					<ColdMessage>						<Output>							<Content>Sound_Silent</Content>							<To>User</To>						</Output>					</ColdMessage>				</Event>			</ColdLocation>		</Instance>	</UnvChart>	<ExtChart>		<LscName>Test</LscName>		<Instance>			<Name>User</Name>			<ColdLocation>				<Event>					<ColdMessage>						<Output>							<Content>Close</Content>							<To>Cover</To>								</Output>						</ColdMessage>					</Event>			</ColdLocation>				<ColdLocation>				<Event>					<ColdMessage>						<Input>							<Content>SetState_Time</Content>								<From>Display</From>							</Input>						</ColdMessage>					</Event>			</ColdLocation>				<ColdLocation>				<Event>					<ColdMessage>						<Input>							<Content>Sound_Silent</Content>							<From>Speaker</From>								</Input>						</ColdMessage>					</Event>			</ColdLocation>				</Instance>		<Instance>			<Name>Cover</Name>			<ColdLocation>				<Event>					<ColdMessage>						<Input>							<Content>Close</Content>							<From>User</From>								</Input>							</ColdMessage>					</Event>			</ColdLocation>					</Instance>			<Instance>			<Name>Display</Name>				<ColdLocation>				<Event>					<Action>						<SetState>							<Variable>State</Variable>							<Value>Time</Value>						</SetState>					</Action>				</Event>			</ColdLocation>				<ColdLocation>				<Event>					<ColdMessage>						<Output>							<Content>SetState_Time</Content>								<To>User</To>							</Output>						</ColdMessage>					</Event>			</ColdLocation>			</Instance>			<Instance>			<Name>Speaker</Name>			<ColdLocation>				<Event>					<Action>						<SetState>							<Variable>State</Variable>							<Value>Silent</Value>						</SetState>					</Action>				</Event>			</ColdLocation>			<ColdLocation>				<Event>					<ColdMessage>						<Output>							<Content>Sound_Silent</Content>								<To>User</To>							</Output>						</ColdMessage>					</Event>			</ColdLocation>							</Instance>		</ExtChart>	</LscSpec>