コード例 #1
0
 public void LiftStateAttributes01()
 {
     int floor = 64, faultNum = 50;
     global::SerialProtocol.LiftState.LiftState target
        = new global::SerialProtocol.LiftState.LiftState(floor, faultNum);
     target.Attendent = true;
     target.DoorIsLocking = true;
     target.DoorIsOpenning = true;
     target.DoorLocked = true;
     target.FloorPosition = 1;
     target.Independent = true;
     target.InspectionOrAuto = true;
     target.LiftCurrentLoginLevel = 1;
     target.LiftDateTime = DateTime.Now.Year.ToString();
     target.LiftDownCall[1] = true;
     target.LiftDownDirection = true;
     target.LiftFaultCode[0] = new LiftCommonFault380();
     target.Attendent = true;
     target.Attendent = true;
     target.Attendent = true;
     target.Attendent = true;
     target.Attendent = true;
 }
コード例 #2
0
 public global::SerialProtocol.LiftState.LiftState ConstructorTest01(int floor)
 {
     global::SerialProtocol.LiftState.LiftState target
        = new global::SerialProtocol.LiftState.LiftState(floor);
     return target;
 }
コード例 #3
0
 public global::SerialProtocol.LiftState.LiftState ConstructorTest02(int floor, int faultNum)
 {
     global::SerialProtocol.LiftState.LiftState target
        = new global::SerialProtocol.LiftState.LiftState(floor, faultNum);
     return target;
 }
コード例 #4
0
 public global::SerialProtocol.LiftState.LiftState ConstructorTest()
 {
     global::SerialProtocol.LiftState.LiftState target = new global::SerialProtocol.LiftState.LiftState()
       ;
     return target;
 }